Skip to content

Commit 74feb30

Browse files
authored
ci: native go1.21 tests (#20)
Include more go1.21rc tests, as I figured out how to get the release candidate in the native jobs that were using `@actions/setup-go`.
1 parent 445523d commit 74feb30

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
runs-on: [ macos-13, macos-12, macos-11, ubuntu-22.04, ubuntu-20.04, windows-latest ]
18-
go-version: [ "1.20", "1.19", "1.18" ]
18+
go-version: [ "1.21.0-rc.3", "1.20", "1.19", "1.18" ]
1919
cgo_enabled: [ "0", "1" ] # test it compiles with and without cgo
2020
include:
2121
- env:
2222
GODEBUG=cgocheck=2
23+
- go-version: "1.21.0-rc.3"
24+
env:
25+
GOEXPERIMENT=cgocheck2
2326
runs-on: ${{ matrix.runs-on }}
2427
steps:
2528
- uses: actions/checkout@v3

waf_unsupported_go.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// Supported OS/Arch but unsupported Go version
77
// Supported OS Supported Arch Bad Go Version
8-
//go:build (linux || darwin) && (amd64 || arm64) && go1.21
8+
//go:build (linux || darwin || windows) && (amd64 || arm64) && go1.21
99

1010
package waf
1111

0 commit comments

Comments
 (0)