File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
steps :
8
8
- uses : actions/checkout@v2
9
- - uses : actions/setup-go@v2
9
+ - name : golangci-lint
10
+ uses : golangci/golangci-lint-action@v1
10
11
with :
11
- go- version : 1.14
12
- - run : curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.21.0
12
+ # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
13
+ version : v1.27
13
14
- run : |
14
15
go version ; ./bin/golangci-lint --version
15
- ./bin/ golangci-lint run --no-config || true
16
- - run : ./bin/ golangci-lint run --no-config ciphers strings
17
- - run : ./bin/ golangci-lint run --no-config data-structures || true
18
- - run : ./bin/ golangci-lint run --no-config dynamic-programming || true
19
- - run : ./bin/ golangci-lint run --no-config other || true
20
- - run : ./bin/ golangci-lint run --no-config searches || true
21
- - run : ./bin/ golangci-lint run --no-config sorts
16
+ golangci-lint run --no-config || true
17
+ - run : golangci-lint run --no-config ciphers strings
18
+ - run : golangci-lint run --no-config data-structures || true
19
+ - run : golangci-lint run --no-config dynamic-programming || true
20
+ - run : golangci-lint run --no-config other || true
21
+ - run : golangci-lint run --no-config searches || true
22
+ - run : golangci-lint run --no-config sorts
You can’t perform that action at this time.
0 commit comments