From ce52848ffcbd54ee780430787e43f3cbb60c0373 Mon Sep 17 00:00:00 2001 From: Lewis Marshall Date: Tue, 24 Mar 2026 14:46:56 +0000 Subject: [PATCH] Only run tests on the latest two Go versions The integration tests are quite heavyweight, and running them 10 times in parallel (i.e. JSON + msgpack across 5 Go versions) adds unnecessary load to the sandbox cluster. Go has a backwards compatibility guarantee between versions, and also only officially supports the two latest Go versions, so it's sufficient for us to only test on the latest two Go versions in CI. Signed-off-by: Lewis Marshall --- .github/workflows/check.yml | 3 ++- .github/workflows/integration-test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ce28731b..7a7d243c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -16,7 +16,8 @@ jobs: strategy: fail-fast: false matrix: - go-version: ['1.19', '1.20', '1.23', '1.24', '1.25'] + # Test on the two latest Go releases, matching the Go release policy: https://go.dev/doc/devel/release + go-version: ['1.25', '1.26'] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index f38dcf03..9a02ef8e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -14,7 +14,8 @@ jobs: strategy: fail-fast: false matrix: - go-version: ['1.19', '1.20', '1.23', '1.24', '1.25'] + # Test on the two latest Go releases, matching the Go release policy: https://go.dev/doc/devel/release + go-version: ['1.25', '1.26'] protocol: ['json', 'msgpack'] steps: