mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
30 lines
646 B
YAML
30 lines
646 B
YAML
|
name: Lint and Test Charts
|
||
|
|
||
|
on: pull_request
|
||
|
|
||
|
jobs:
|
||
|
lint-test:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Run chart-testing (lint)
|
||
|
id: lint
|
||
|
uses: helm/chart-testing-action@v1.1.0
|
||
|
with:
|
||
|
command: lint
|
||
|
config: ct.yaml
|
||
|
|
||
|
- name: Create kind cluster
|
||
|
uses: helm/kind-action@v1.0.0
|
||
|
if: steps.lint.outputs.changed == 'true'
|
||
|
|
||
|
- name: Run chart-testing (install)
|
||
|
uses: helm/chart-testing-action@v1.1.0
|
||
|
with:
|
||
|
command: install
|
||
|
config: ct.yaml
|