Skip to content

Commit b4c2f1e

Browse files
committed
Update golangci_lint.yml
1 parent 28c69a9 commit b4c2f1e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/golangci_lint.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@ jobs:
1818
with:
1919
go-version: '1.19'
2020

21+
- name: Install golangci-lint
22+
run: |
23+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2
24+
env:
25+
GOROOT: /usr/local/go
26+
GOPATH: $HOME/go
27+
PATH: $HOME/go/bin:/usr/local/go/bin:$PATH
28+
2129
- name: Lint multinode
2230
run: |
2331
cd ./multinode
2432
golangci-lint run
25-
env:
26-
GOLANGCI_LINT_VERSION: v1.62.2

0 commit comments

Comments
 (0)