Skip to content

Commit c37c7ea

Browse files
authored
Revert "golangci-lint.yml: Upgrade go and Actions" (#147)
1 parent f101d64 commit c37c7ea

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ jobs:
55
golangci-lint:
66
runs-on: ubuntu-latest
77
steps:
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
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

0 commit comments

Comments
 (0)