From a648739dc5ea655eb7b1dfd8002173de59af0205 Mon Sep 17 00:00:00 2001 From: Nicklas Lundin Date: Mon, 9 Dec 2024 08:38:55 +0100 Subject: [PATCH] ci: validate against multiple versions (#67) * ci: run on go 1.19-1.21 * fixup! ci: run on go 1.19-1.21 * ci: add 1.22 and 1.23 --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index efed7de..4aba29a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,13 +11,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go-version: ['1.19', '1.20', '1.21', '1.22', '1.23'] steps: - uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: ${{ matrix.go-version }} - name: Build Confidence run: cd pkg/confidence && go build -v .