Setup chart linter as github action
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
This commit is contained in:
18
.github/workflows/helm-chart-lint.yml
vendored
Normal file
18
.github/workflows/helm-chart-lint.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Lint Helm Charts
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
lint-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.0.1
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint
|
||||
Reference in New Issue
Block a user