Skip to content

Commit d630530

Browse files
committed
⚙️ add helm unit test job to release workflow
1 parent 6266afc commit d630530

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,37 @@ env:
1919
IMAGE_NAME: ${{ github.repository }}
2020

2121
jobs:
22+
23+
helm-test:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
27+
with:
28+
egress-policy: audit
29+
- name: Checkout
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Set up Helm
35+
uses: azure/setup-helm@v4.3.1
36+
# with:
37+
# version: v3.19.5
38+
39+
- name: Install Helm unittest plugin
40+
run: |
41+
make install-helm-unittest
42+
43+
- name: Run the Chart unit tests
44+
run: |
45+
make helm-unittest
46+
2247
build-and-push-image:
2348
runs-on: ubuntu-latest
49+
50+
needs:
51+
- helm-test
52+
2453
permissions:
2554
contents: read
2655
packages: write

0 commit comments

Comments
 (0)