Skip to content

Commit 04d4ed5

Browse files
reneleonhardtfelixfontein
authored andcommitted
Review: Add test "matrix" but only for 1.22
Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
1 parent 7fdadb7 commit 04d4ed5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cli.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181
name: Functional tests
8282
runs-on: ubuntu-latest
8383
needs: [build]
84+
strategy:
85+
matrix:
86+
go-version: ['1.22']
8487
env:
8588
VAULT_VERSION: "1.14.0"
8689
VAULT_TOKEN: "root"
@@ -100,10 +103,10 @@ jobs:
100103

101104
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
102105
with:
103-
name: sops-1.22-linux-amd64-${{ github.sha }}
106+
name: sops-${{ matrix.go-version }}-linux-amd64-${{ github.sha }}
104107

105108
- name: Move SOPS binary
106-
run: mv sops-1.22-linux-amd64-${{ github.sha }} ./functional-tests/sops
109+
run: mv sops-${{ matrix.go-version }}-linux-amd64-${{ github.sha }} ./functional-tests/sops
107110

108111
- name: Make SOPS binary executable
109112
run: chmod +x ./functional-tests/sops

0 commit comments

Comments
 (0)