Combine all initializer commands with && to catch any failing commands #3
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 Lint | |
on: | |
# `ct lint` does not work well with tag references on releases. | |
# OTOH, Helm linting on tags is not necessary so long as it | |
# happens on push to branches. | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'charts/**' | |
pull_request: | |
branches-ignore: | |
- 'release-**/bundle-update' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.7.2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: | | |
ct lint --config ./charts/ct.yaml |