linting workflow

This commit is contained in:
scrungus 2022-11-17 13:36:35 +00:00
parent ff80b7e2fd
commit 0cf3c36f6f

27
.github/workflows/lint.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Lint Helm Charts
# Run the tasks on every push
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.10.0
- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true
- name: Set up chart-testing
uses: scrungus/chart-testing-action@v3.7.3
- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --all --validate-maintainers=false --extra-values ${{ secrets.TYLER_CLOUDS }}