Upgrade to Go 1.22 toolchain (#1987)

Upgrades to the Go 1.22 toolchain. Upgrades golangci-lint to 1.61.0 and disables some new linters.

---------

Co-authored-by: Nicholas Wiersma <nick@wiersma.co.za>
This commit is contained in:
Matt
2024-09-27 22:51:14 -07:00
committed by GitHub
parent 3856c6feee
commit 0092d3a118
11 changed files with 56 additions and 40 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ services:
context: .
dockerfile: cmd/proxy/Dockerfile
args:
GOLANG_VERSION: "1.20"
GOLANG_VERSION: "1.22"
environment:
- ATHENS_MONGO_STORAGE_URL=mongodb://mongo:27017
- TIMEOUT=20 # in case the mongo dependency takes longer to start up
@@ -20,7 +20,7 @@ services:
context: .
dockerfile: Dockerfile.test
args:
GOLANG_VERSION: "1.20"
GOLANG_VERSION: "1.22"
command: ["./scripts/test_unit.sh"]
environment:
- GO_ENV=test
@@ -36,7 +36,7 @@ services:
context: .
dockerfile: Dockerfile.test
args:
GOLANG_VERSION: "1.20"
GOLANG_VERSION: "1.22"
command: ["./scripts/test_e2e.sh"]
azurite:
image: arafato/azurite:2.6.5