ci(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.9 to 3.0.11 #46
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: Test charts | |
permissions: {} | |
on: | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v3 | |
- name: Setup Chart Linting | |
id: lint | |
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --config ./.github/configs/ct.yaml) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
run: make helm-lint | |
- name: Run docs-testing (helm-docs) | |
id: helm-docs | |
run: | | |
make helm-docs | |
if [[ $(git diff --stat) != '' ]]; then | |
echo -e '\033[0;31mDocumentation outdated! (Run make helm-docs locally and commit)\033[0m ❌' | |
git diff --color | |
exit 1 | |
else | |
echo -e '\033[0;32mDocumentation up to date\033[0m ✔' | |
fi | |
- name: Run chart-testing (install) | |
run: make helm-test | |
if: steps.list-changed.outputs.changed == 'true' |