Skip to content

Commit

Permalink
chore: test with Go 1.22 (#733)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
blgm authored Feb 7, 2024
1 parent a0d0387 commit 32ef35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: 'oldstable'
- uses: actions/checkout@v4
- run: go mod tidy && git diff --exit-code go.mod go.sum
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '1.20', '1.21' ]
version: [ 'oldstable', 'stable' ]
name: Go ${{ matrix.version }}
steps:
- uses: actions/setup-go@v5
Expand Down

0 comments on commit 32ef35e

Please sign in to comment.