Skip to content

Commit 28bdc6c

Browse files
authored
Update golangci-lint.yml
1 parent 89d3288 commit 28bdc6c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: golangci-lint
12-
uses: golangci/golangci-lint-action@v2
12+
uses: golangci/golangci-lint-action@v1
1313
with:
1414
# 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
1616
working-directory: sorts
1717
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...
1919
# 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
2122
- run: golangci-lint run --no-config ciphers || true
2223
- run: golangci-lint run --no-config data-structures/binary-tree || true
2324
- run: golangci-lint run --no-config data-structures/dynamic-array || true
@@ -30,7 +31,7 @@ jobs:
3031
- run: golangci-lint run --no-config sorts
3132
# - run: golangci-lint run --no-config strings/...
3233
- 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
3435
- run: golangci-lint run --no-config strings/levenshteindistance
3536
- run: golangci-lint run --no-config strings/naivesearch
3637
- run: golangci-lint run --no-config math/gcd

0 commit comments

Comments
 (0)