Skip to content

Commit

Permalink
all: Update to go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
vangent committed Feb 6, 2024
1 parent 4e3dfbe commit 3cafdde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
# When updating this, make sure to also update the
# latest_go_version variable in internal/testing/runchecks.sh.
go-version: [1.21.x]
go-version: [1.22.x]
include:
- go-version: 1.20.x
- go-version: 1.21.x
os: ubuntu-latest

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion internal/testing/runchecks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rootdir="$(pwd)"
# new Go version. Some checks below we only run
# for the latest Go version.
latest_go_version=0
if [[ $(go version) == *go1\.21* ]]; then
if [[ $(go version) == *go1\.22* ]]; then
latest_go_version=1
fi

Expand Down

0 comments on commit 3cafdde

Please sign in to comment.