Skip to content

Commit

Permalink
unparametrise, github does not support it
Browse files Browse the repository at this point in the history
..nor does it support yaml anchors so back to hacks.

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Dec 22, 2024
1 parent d7b6241 commit b93a7d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:

env:
RUST_BACKTRACE: 1
K3S_MAX: "latest"
K3S_MIN: "v1.28"

# Spend CI time only on latest ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
Expand Down Expand Up @@ -134,7 +132,9 @@ jobs:
fail-fast: false
matrix:
# Run these tests against older clusters as well
k8s: ["${{env.K3S_MIN}}", "${{env.K3S_MAX}}"]
k8s:
- "1.27" # MK8SV
- "latest"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:

- uses: nolar/setup-k3d-k3s@v1
with:
version: "${{ env.K3S_MIN }}"
version: "1.27" # MK8SV
# k3d-kube
k3d-name: kube
# Used to avoid rate limits when fetching the releases from k3s repo.
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:

env:
RUST_BACKTRACE: 1
K3S_MAX: "latest"
K3S_MIN: "v1.28"

jobs:
tarpaulin-codecov:
Expand All @@ -31,7 +29,7 @@ jobs:
tool: [email protected]
- uses: nolar/setup-k3d-k3s@v1
with:
version: "${{ env.K3S_MIN }}"
version: "v1.27" # MK8SV
# k3d-kube
k3d-name: kube
# Used to avoid rate limits when fetching the releases from k3s repo.
Expand Down

0 comments on commit b93a7d0

Please sign in to comment.