From 60d4c05aad4f63d3d2b31c8cbc4424d301f6f23c Mon Sep 17 00:00:00 2001 From: Robert van Gent Date: Tue, 13 Aug 2024 20:23:23 +0000 Subject: [PATCH] all: update to go version 1.23 --- .github/workflows/tests.yml | 11 ++++------- internal/testing/runchecks.sh | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) 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