File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11# https://golangci-lint.run/usage/configuration/
22run :
3- go : " 1.21.7 "
3+ go : " 1.23.6 "
44 timeout : 10m
55
66issues :
@@ -19,7 +19,7 @@ linters:
1919 - depguard
2020 - errcheck
2121 - errorlint
22- - exportloopref
22+ - copyloopvar
2323 - goconst
2424 - gocritic
2525 - gofmt
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ fmt: ## Run gofumpt against code.
3030vet : # # Run go vet against code.
3131 go vet ./...
3232
33- test : fmt vet envtest # # Run tests.
33+ test : fmt vet # # Run tests.
3434 go test -v ./... -coverprofile cover.out
3535
3636lint : # # Run golangci-lint against code.
@@ -47,15 +47,15 @@ run: build ## Run avalanche CLI
4747
4848colima : # # check colima
4949ifndef COLIMA
50- brew install colima
51- brew install docker docker-compose
52- brew install chipmk/tap/docker-mac-net-connect
53- brew services start chipmk/tap/docker-mac-net-connect
50+ brew install colima
51+ brew install docker docker-compose
52+ brew install chipmk/tap/docker-mac-net-connect
53+ brew services start chipmk/tap/docker-mac-net-connect
5454endif
5555
5656docker : colima # # check docker
5757ifndef DOCKER
58- $(error "No docker in $(PATH ) , pls follow https ://docs.docker.com/get-docker/ to install")
58+ $(error "No docker in $(PATH), pls follow https://docs.docker.com/get-docker/ to install")
5959endif
6060
6161docker-build : docker # # Build docker image
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ CLI_PATH=$(
1111 cd .. && pwd
1212)
1313
14- GOLANGCI_LINT_VERSION=v1.56.2
14+ GOLANGCI_LINT_VERSION=v1.64.5
1515
1616go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}
1717golangci-lint run --config=$CLI_PATH /.golangci.yml ./... --timeout 5m
You can’t perform that action at this time.
0 commit comments