circleci: upgrade golangci linter version
The old one isn't able to properly work with go > 1.15. However, the updated version doesn't work with go 1.18, see https://github.com/golangci/golangci-lint/issues/2649. So let's keep go1_17 runner with the latest golangci by now.
This commit is contained in:
parent
e8d15b1b7e
commit
d2bc4473ce
1 changed files with 3 additions and 2 deletions
|
@ -28,14 +28,15 @@ commands:
|
|||
jobs:
|
||||
lint:
|
||||
working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go
|
||||
executor: go1_18
|
||||
# TODO: temp workaround, need to upgrade to go1_18 after https://github.com/golangci/golangci-lint/issues/2649 is resolved.
|
||||
executor: go1_17
|
||||
steps:
|
||||
- checkout
|
||||
- gomod
|
||||
- run:
|
||||
name: go-lint
|
||||
command: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.2
|
||||
make lint
|
||||
|
||||
test_1_16:
|
||||
|
|
Loading…
Reference in a new issue