From 0dd5c90909d7cb86cf30a73f4a68951ff9034a45 Mon Sep 17 00:00:00 2001 From: Aljoscha Poertner Date: Sun, 11 Feb 2024 16:28:02 +0100 Subject: [PATCH] ci(test): run on all supported kubernetes versions --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3fc9f8..9e9adb9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,9 @@ jobs: test: name: Run tests with cargo test runs-on: ubuntu-latest + strategy: + matrix: + version: [v1.24.17, v1.25.16, v1.26.13, v1.27.10, v1.28.6, v1.29.1] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -16,9 +19,10 @@ jobs: uses: helm/kind-action@v1.8.0 with: cluster_name: "kind" + node_image: kindest/node:${{ matrix.version }} - name: "Apply RBAC resources" run: kubectl apply -k rbac - uses: actions-rs/toolchain@v1 with: toolchain: stable - - run: cargo test \ No newline at end of file + - run: cargo test