mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-14 14:02:17 +00:00
31 lines
682 B
YAML
31 lines
682 B
YAML
name: Lint and Test Charts
|
|
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
lint-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Run chart-testing (lint)
|
|
id: lint
|
|
uses: helm/chart-testing-action@v1.0.0-alpha.3
|
|
with:
|
|
command: lint
|
|
|
|
- name: Create kind cluster
|
|
uses: helm/kind-action@v1.0.0-alpha.3
|
|
with:
|
|
install_local_path_provisioner: true
|
|
if: steps.lint.outputs.changed == 'true'
|
|
|
|
- name: Run chart-testing (install)
|
|
uses: helm/chart-testing-action@v1.0.0-alpha.3
|
|
with:
|
|
command: install |