style: pre-commit autoupdate (#119) #1
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: CI - Chart | |
on: | |
pull_request: | |
paths: | |
- chart/** | |
push: | |
branches: [main] | |
paths: | |
- chart/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Helm | |
uses: azure/setup-helm@v3 | |
- name: Lint chart | |
run: helm lint | |
working-directory: ./chart | |
check-docs: | |
name: Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Download helm-docs | |
run: go install github.com/norwoodj/helm-docs/cmd/[email protected] | |
- name: Generate README | |
run: helm-docs | |
working-directory: ./chart | |
- name: Check for changes | |
run: helm-docs -o README.tmp.md && diff README.md README.tmp.md | |
working-directory: ./chart |