charts/.github/workflows/lint-test.yaml
Workflow config file is invalid. Please check your config file: yaml: line 12: did not find expected key

29 lines
974 B
YAML

name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
run: |
git fetch --prune --unshallow;
echo ::set-env name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0
if: !contains(env.commitmsg, '[skip lint]')
with:
command: lint
config: ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
if: steps.lint.outputs.changed == 'true' && !contains(env.commitmsg, '[skip install]')
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0
if: steps.lint.outputs.changed == 'true' && !contains(env.commitmsg, '[skip install]')
with:
command: install
config: ct.yaml