File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- uses : actions/checkout@v2
11
11
- name : golangci-lint
12
- uses : golangci/golangci-lint-action@v2
12
+ uses : golangci/golangci-lint-action@v1
13
13
with :
14
14
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
15
- version : v1.31
15
+ version : v1.27
16
16
working-directory : sorts
17
17
args : --issues-exit-code=0 # Hopefully someday we can remove this...
18
- # Only show new issues if this is a pull request...
18
+ # Only show new issues if this is a pull request...
19
19
# only-new-issues: true
20
- - run : go version ; golangci-lint --version # Fix the following and remove || true
20
+ - run : echo "::set-env name=PATH::/home/runner/golangci-lint-1.27.0-linux-amd64:$PATH"
21
+ - run : go version ; golangci-lint --version # Fix the following and remove || true
21
22
- run : golangci-lint run --no-config ciphers || true
22
23
- run : golangci-lint run --no-config data-structures/binary-tree || true
23
24
- run : golangci-lint run --no-config data-structures/dynamic-array || true
30
31
- run : golangci-lint run --no-config sorts
31
32
# - run: golangci-lint run --no-config strings/...
32
33
- run : golangci-lint run --no-config "strings/multiple string matching" || true
33
- # - run: golangci-lint run --no-config "strings/single string matching" || true
34
+ # - run: golangci-lint run --no-config "strings/single string matching" || true
34
35
- run : golangci-lint run --no-config strings/levenshteindistance
35
36
- run : golangci-lint run --no-config strings/naivesearch
36
37
- run : golangci-lint run --no-config math/gcd
You can’t perform that action at this time.
0 commit comments