Archived
1
0

refactor: add helm script and job

This commit is contained in:
Joe Previte
2022-09-16 22:17:32 -07:00
parent f36c1f5b91
commit 3028e8ebf8
4 changed files with 43 additions and 3 deletions

View File

@ -108,6 +108,34 @@ jobs:
if: failure()
uses: andymckay/cancel-action@0.2
lint-helm:
name: Lint Helm chart
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v23.2
with:
files: |
ci/helm-chart/**
- name: Install helm
uses: azure/setup-helm@v3.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Lint Helm chart
if: steps.changed-files.outputs.any_changed == 'true'
run: ./ci/dev/helm.sh
- name: Fail workflow
if: failure()
uses: andymckay/cancel-action@0.2
build:
name: Build
needs: prebuild