Skip to content

Commit a7146c8

Browse files
authored
Upgrade Go version to 1.25 in test workflow
Updated Go version from 1.24 to 1.25 in CI workflow.
1 parent a74587d commit a7146c8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-go@v5
1616
with:
17-
go-version: "1.24"
17+
go-version: "1.25"
1818

1919
- name: build
2020
run: go build -o /tmp/odek-test github.com/BackendStack21/odek/cmd/odek && chmod +x /tmp/odek-test
@@ -35,10 +35,14 @@ jobs:
3535

3636
- uses: actions/setup-go@v5
3737
with:
38-
go-version: "1.24"
38+
go-version: "1.25"
3939

4040
- name: golangci-lint
4141
uses: golangci/golangci-lint-action@v6
4242
with:
4343
version: v1.64
44+
# Compile golangci-lint with the toolchain set up above (Go 1.25) so
45+
# its typechecker can read the `go 1.25` module. The official
46+
# prebuilt v1.64 binary is built with Go 1.24 and rejects it.
47+
install-mode: goinstall
4448
args: --timeout=10m

0 commit comments

Comments
 (0)