Add Helm chart #2
Workflow file for this run
This file contains 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: Helm chart | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'chart/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'chart/**' | |
jobs: | |
lint: | |
name: Run linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Helm | |
uses: azure/setup-helm@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Setup chart-testing | |
uses: helm/chart-testing-action@v2 | |
- name: Lint | |
run: ct lint --chart-dirs chart --target-branch ${{ github.event.repository.default_branch }} |