Skip to content

Commit 441e0b5

Browse files
authored
ci: test helm version matrix (#1087)
1 parent 93e93f5 commit 441e0b5

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,42 @@ on:
77
pull_request:
88

99
jobs:
10+
helm:
11+
runs-on: ubuntu-latest
12+
name: Helm Validation ${{ matrix.helm }}
13+
strategy:
14+
matrix:
15+
helm:
16+
- v3.19.2 # renovate: datasource=github-releases depName=helm/helm versioning=same-major
17+
- v4.0.0 # renovate: datasource=github-releases depName=helm/helm versioning=same-major
18+
19+
steps:
20+
- uses: actions/checkout@v6
21+
22+
- uses: actions/setup-python@v6
23+
with:
24+
python-version: 3.x
25+
26+
- uses: yokawasa/action-setup-kube-tools@v0.13.1
27+
with:
28+
setup-tools: |
29+
helm
30+
helm: ${{ matrix.helm }}
31+
32+
- uses: pre-commit/action@v3.0.1
33+
34+
# Run with pre-commit to get diff check
35+
- name: helm-validation
36+
run: |
37+
pre-commit run helm-lint --all
38+
pre-commit run helm-snapshots --all
39+
pre-commit run deploy-manifests --all
40+
1041
pre-commit:
1142
runs-on: ubuntu-latest
43+
env:
44+
# Helm lints are executed in a separate action with a version matrix
45+
SKIP: "helm-lint,helm-snapshots,deploy-manifests"
1246
steps:
1347
- uses: actions/checkout@v6
1448

0 commit comments

Comments
 (0)