File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 5
5
golangci-lint :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/setup-go@v1
9
- with :
10
- go-version : 1.13
11
- - uses : actions/checkout@v1
12
- - run : curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.21.0
13
- - run : |
14
- 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
8
+ - uses : actions/checkout@v2
9
+ - name : golangci-lint
10
+ uses : golangci/golangci-lint-action@v1
11
+ with :
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
14
+ args : --issues-exit-code=0 # Someday we can remove this...
15
+ - run : |
16
+ go version ; golangci-lint --version
17
+ # golangci-lint run --no-config || true
18
+ - run : golangci-lint run --no-config ciphers strings
19
+ - run : golangci-lint run --no-config data-structures || true
20
+ - run : golangci-lint run --no-config dynamic-programming || true
21
+ - run : golangci-lint run --no-config other || true
22
+ - run : golangci-lint run --no-config searches || true
23
+ - run : golangci-lint run --no-config sorts
You can’t perform that action at this time.
0 commit comments