From 7db2c9ebb5d34ab24688f433396e26b46897c26b Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 16 Jan 2026 11:18:28 -0500 Subject: [PATCH] ci: test against multiple go versions Several Linux distributions and other open source package managers build Anubis against Go oldstable. Eventually this will have to expand to at least what FreeBSD supports. I hope they can bump the versions of Go as soon as upstream makes new code available. Signed-off-by: Xe Iaso --- .github/workflows/go.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 577051e2..c20ab9bf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,6 +12,11 @@ permissions: jobs: go_tests: + strategy: + matrix: + go_version: + - oldstable + - stable #runs-on: alrest-techarohq runs-on: ubuntu-24.04 steps: @@ -26,10 +31,11 @@ jobs: - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: - node-version: '24.11.0' + node-version: "latest" + - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 with: - go-version: '1.25.4' + go-version: ${{ matrix.go_version }} - name: Cache playwright binaries uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1