Skip to content

Commit

Permalink
Pin test coverage workflows to Go 1.21
Browse files Browse the repository at this point in the history
The Go 1.22 "go test" command fails when using the "-coverpkg" flag.

See: https://go.dev/issue/65653
  • Loading branch information
cbandy committed Feb 15, 2024
1 parent c74f7d9 commit 7566ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with: { go-version: 1.x }
with: { go-version: 1.21 }
- run: go mod download
- run: ENVTEST_K8S_VERSION="${KUBERNETES#default}" make check-envtest
env:
Expand All @@ -58,7 +58,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with: { go-version: 1.x }
with: { go-version: 1.21 }

- name: Start k3s
uses: ./.github/actions/k3d
Expand Down

0 comments on commit 7566ed0

Please sign in to comment.