Update default Go version

Update build to use Go 1.22.
* Fixup one CI test to use Go version from environment.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2024-03-10 12:42:17 +01:00
parent 218ceb3737
commit 38329f4cbe
2 changed files with 5 additions and 2 deletions

View File

@@ -58,10 +58,13 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go Version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '~1.21.0'
go-version: ${{ env.GO_VERSION }}
id: go
- name: Build

View File

@@ -1 +1 @@
1.21.8
1.22.1