Skip to content

Commit 28bc4d8

Browse files
author
Tony Zhang
committed
Fixing Makefile and misc golang toolchain
1 parent 1537bc3 commit 28bc4d8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://golangci-lint.run/usage/configuration/
22
run:
3-
go: "1.21.7"
3+
go: "1.23.6"
44
timeout: 10m
55

66
issues:
@@ -19,7 +19,7 @@ linters:
1919
- depguard
2020
- errcheck
2121
- errorlint
22-
- exportloopref
22+
- copyloopvar
2323
- goconst
2424
- gocritic
2525
- gofmt

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fmt: ## Run gofumpt against code.
3030
vet: ## 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

3636
lint: ## Run golangci-lint against code.
@@ -47,15 +47,15 @@ run: build ## Run avalanche CLI
4747

4848
colima: ## check colima
4949
ifndef 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
5454
endif
5555

5656
docker: colima ## check docker
5757
ifndef 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")
5959
endif
6060

6161
docker-build: docker ## Build docker image

0 commit comments

Comments
 (0)