From e2172411214f72035e04a3d4f8631b74b417601c Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Wed, 3 Jan 2024 09:42:47 +0000 Subject: [PATCH 1/2] sq --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316d0333..40d3f219 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,7 @@ jobs: fail-fast: false # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go matrix: - # strategy is used to allow us to pin to a specific Go version, or use the version available in our `go.mod` - strategy: ['go-version'] - version: [1.21] - include: - # pick up the Go version from the `go.mod` - - strategy: 'go-version-file' - version: 'go.mod' + version: [1.20, 1.21] steps: - name: Check out source code uses: actions/checkout@v4 @@ -22,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - ${{ matrix.strategy }}: ${{ matrix.version }} + go-version: ${{ matrix.version }} - name: Test run: make test From 2b5866261d1270653ec676faf362320ef3797fa0 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Wed, 3 Jan 2024 09:44:37 +0000 Subject: [PATCH 2/2] sq --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40d3f219..cde02753 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go matrix: - version: [1.20, 1.21] + version: ['1.20', '1.21'] steps: - name: Check out source code uses: actions/checkout@v4