Skip to content

Commit d411446

Browse files
committed
feat(ci): Use Composite actions for helm
1 parent 3f638e0 commit d411446

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,8 @@ jobs:
153153
runs-on: ubuntu-latest
154154

155155
steps:
156-
- uses: actions/checkout@main
157-
158-
- name: Install Helm
159-
uses: azure/setup-helm@v4
160-
161-
- name: 🐳 Helm dependency
162-
run: |
163-
yq --indent 0 '.dependencies | map(select(.repository | test("^oci:") | not)) | map(["helm", "repo", "add", .name, .repository] | join(" ")) | .[]' ./helm/Chart.lock | sh --
164-
helm dependency build ./helm/
165-
166-
- name: Helm lint
167-
run: helm lint ./helm --values ./helm/linter_values.yaml
168-
169-
- name: Helm template
170-
run: helm template ./helm --values ./helm/linter_values.yaml
156+
- name: Helm CI checks
157+
uses: toggle-corp/github-actions/actions/prep-helm/@feature/helm
158+
with:
159+
chart_directory: ./helm
160+
helm_args: "--values ./helm/linter_values.yaml"

0 commit comments

Comments
 (0)