validate helm template on pull request #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Helm Chart Templates | |
on: | |
pull_request: | |
paths: | |
- 'chart/**' | |
- '.github/workflows/helm-template-validate.yml' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.13.3 | |
- name: Validate Helm Chart Templates | |
run: | | |
cd chart | |
helm template . > /dev/null | |
echo "Helm chart templates are valid" |