charts/.github/workflows/lint-test.yaml

33 lines
755 B
YAML
Raw Normal View History

name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
2020-04-30 09:18:59 +00:00
uses: actions/checkout@v2
- name: Fetch history
run: git fetch --prune --unshallow
- name: Run chart-testing (lint)
id: lint
2020-04-29 22:35:13 +00:00
uses: helm/chart-testing-action@v1.0.0-rc.2
with:
command: lint
2020-04-30 09:18:59 +00:00
config: ct.yaml
- name: Create kind cluster
2020-04-29 22:35:13 +00:00
uses: helm/kind-action@v1.0.0-rc.1
with:
install_local_path_provisioner: true
if: steps.lint.outputs.changed == 'true'
- name: Run chart-testing (install)
2020-04-29 22:35:13 +00:00
uses: helm/chart-testing-action@v1.0.0-rc.2
with:
command: install
2020-04-30 09:18:59 +00:00
config: ct.yaml