Upgrade golangci version
This commit is contained in:
@@ -17,7 +17,7 @@ notifications:
|
|||||||
email: false
|
email: false
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.39.0
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -47,7 +47,7 @@ docker:
|
|||||||
lint:
|
lint:
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
-w /src -v $(shell pwd):/src \
|
-w /src -v $(shell pwd):/src \
|
||||||
golangci/golangci-lint:v1.26 golangci-lint run \
|
golangci/golangci-lint:v1.39 golangci-lint run \
|
||||||
-v -c .golangci.yml
|
-v -c .golangci.yml
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user