ci: add github action to validate template files on PR #1
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 Charts | |
| on: | |
| pull_request: | |
| paths: | |
| - 'stable/**' | |
| - '.github/workflows/lint.yml' | |
| - 'Makefile' | |
| jobs: | |
| validate-charts: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: 'latest' | |
| - name: Add Raystack Helm repository | |
| run: | | |
| helm repo add raystack https://raystack.github.io/charts/ | |
| helm repo update | |
| - name: Build dependencies for charts | |
| run: make deps | |
| - name: Validate chart templates | |
| run: make template-all |