Skip to content

Commit

Permalink
all: update to go version 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
vangent committed Aug 13, 2024
1 parent 526ff45 commit 475f86b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
# When updating this, make sure to also update the
# latest_go_version variable in internal/testing/runchecks.sh.
# Restore previous version when go 1.23 is out; go 1.22
# purposefully broke some backwards compatibility that breaks
# the golden tests, so I've disabled them for now.
go-version: [1.22.x]
#include:
#- go-version: 1.21.x
#os: ubuntu-latest
go-version: [1.23.x]
include:
- go-version: 1.22.x
os: ubuntu-latest

runs-on: ${{ matrix.os }}
steps:
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\.22* ]]; then
if [[ $(go version) == *go1\.23* ]]; then
latest_go_version=1
fi

Expand Down

0 comments on commit 475f86b

Please sign in to comment.