Skip to content

Commit c9c0ad3

Browse files
committed
test: alt fix
1 parent 9470379 commit c9c0ad3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version-file: ./go.mod
20+
# HACK(mafredri): The exampels and thirdparty library require Go 1.24
21+
# due to `golang.org/x/crypto` import, so lint tools must be built by
22+
# the highest version of Go used.
23+
go-version-file: ./internal/thirdparty/go.mod
2124
- run: make fmt
2225

2326
lint:
@@ -27,7 +30,10 @@ jobs:
2730
- run: go version
2831
- uses: actions/setup-go@v5
2932
with:
30-
go-version-file: ./go.mod
33+
# HACK(mafredri): The exampels and thirdparty library require Go 1.24
34+
# due to `golang.org/x/crypto` import, so lint tools must be built by
35+
# the highest version of Go used.
36+
go-version-file: ./internal/thirdparty/go.mod
3137
- run: make lint
3238

3339
test:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/coder/websocket
22

3-
go 1.24.7
3+
go 1.23.12

0 commit comments

Comments
 (0)