workflows: update to Go 1.22

We want to support and test the latest versions of Go.  Now that Go 1.22
is out, let's test against 1.22 and 1.21 instead of 1.21 and 1.20.
This commit is contained in:
brian m. carlson 2024-02-08 21:25:34 +00:00
parent df0eab4d04
commit c4f2c2ee65
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1
2 changed files with 6 additions and 6 deletions

@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: ['1.21.x']
go: ['1.22.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@ -47,7 +47,7 @@ jobs:
name: Build with specific Go
strategy:
matrix:
go: ['1.20.x']
go: ['1.21.x']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -76,7 +76,7 @@ jobs:
# which does not honour the PATH we set to our built git-lfs binary.
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- run: mkdir -p "$HOME/go/bin"
shell: bash
- run: set GOPATH=%HOME%\go

@ -11,7 +11,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
go: ['1.21.x']
go: ['1.22.x']
steps:
- uses: actions/checkout@v4
with:
@ -99,7 +99,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
go: ['1.21.x']
go: ['1.22.x']
steps:
- uses: actions/checkout@v4
with:
@ -138,7 +138,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.21.x']
go: ['1.22.x']
steps:
- uses: actions/checkout@v4
with: