diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 014dc75eb0..83d54c4403 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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.21.x + os: ubuntu-latest runs-on: ${{ matrix.os }} steps: diff --git a/internal/testing/runchecks.sh b/internal/testing/runchecks.sh index 73f7135866..49ab714b42 100755 --- a/internal/testing/runchecks.sh +++ b/internal/testing/runchecks.sh @@ -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