File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 23
23
steps :
24
24
- name : Clone the code
25
25
uses : actions/checkout@v2
26
+ with :
27
+ fetch-depth : 0
26
28
- name : Setup Go
27
29
uses : actions/setup-go@v2
28
30
with :
46
48
run : |
47
49
set -e
48
50
addlicense -l apache -c 'Security Scorecard Authors' -v *
49
- git diff --exit-code
51
+ git diff --exit-code
Original file line number Diff line number Diff line change 2
2
run :
3
3
concurrency : 6
4
4
deadline : 5m
5
+ issues :
6
+ new-from-rev : " "
5
7
linters :
6
8
disable-all : true
7
9
enable :
@@ -44,7 +46,6 @@ linters:
44
46
- prealloc
45
47
- predeclared
46
48
- rowserrcheck
47
- - scopelint
48
49
- sqlclosecheck
49
50
- staticcheck
50
51
- structcheck
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
48
48
golangci-lint :
49
49
rm -f $(GOLANGCI_LINT ) || :
50
50
set -e ; \
51
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT ) ) v1.36 .0 ; \
51
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT ) ) v1.39 .0 ; \
52
52
53
53
lint : golangci-lint # # Runs golangci-lint linter
54
54
$(GOLANGCI_LINT ) run -n
You can’t perform that action at this time.
0 commit comments