Skip to content

Commit c44f628

Browse files
authored
CI: test with Go 1.24 (#2748)
1 parent ce0b12a commit c44f628

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
# run static analysis only with the latest Go version
17-
LATEST_GO_VERSION: "1.23"
17+
LATEST_GO_VERSION: "1.24"
1818

1919
jobs:
2020
check:

.github/workflows/echo.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
env:
1616
# run coverage and benchmarks only with the latest Go version
17-
LATEST_GO_VERSION: "1.23"
17+
LATEST_GO_VERSION: "1.24"
1818

1919
jobs:
2020
test:
@@ -25,7 +25,7 @@ jobs:
2525
# Echo tests with last four major releases (unless there are pressing vulnerabilities)
2626
# As we depend on `golang.org/x/` libraries which only support last 2 Go releases we could have situations when
2727
# we derive from last four major releases promise.
28-
go: ["1.20", "1.21", "1.22", "1.23"]
28+
go: ["1.21", "1.22", "1.23", "1.24"]
2929
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
3030
runs-on: ${{ matrix.os }}
3131
steps:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ benchmark: ## Run benchmarks
3131
help: ## Display this help screen
3232
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
3333

34-
goversion ?= "1.20"
35-
test_version: ## Run tests inside Docker with given version (defaults to 1.20 oldest supported). Example: make test_version goversion=1.20
34+
goversion ?= "1.21"
35+
test_version: ## Run tests inside Docker with given version (defaults to 1.21 oldest supported). Example: make test_version goversion=1.21
3636
@docker run --rm -it -v $(shell pwd):/project golang:$(goversion) /bin/sh -c "cd /project && make init check"

0 commit comments

Comments
 (0)