Skip to content

Commit 32ef35e

Browse files
authoredFeb 7, 2024
chore: test with Go 1.22 (#733)
- Rather than hard-coding the Go version in the workflow, we will use the stable and oldstable tags which today resolve to 1.22.0 and 1.21.7, but will float as Go versions change.
1 parent a0d0387 commit 32ef35e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
steps:
1010
- uses: actions/setup-go@v5
1111
with:
12-
go-version: '1.20'
12+
go-version: 'oldstable'
1313
- uses: actions/checkout@v4
1414
- run: go mod tidy && git diff --exit-code go.mod go.sum
1515
build:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
version: [ '1.20', '1.21' ]
19+
version: [ 'oldstable', 'stable' ]
2020
name: Go ${{ matrix.version }}
2121
steps:
2222
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)
Please sign in to comment.