From 9779a1295bdea426b67e07ea8d980735c515b1a2 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Thu, 8 Dec 2022 13:28:04 +0100 Subject: [PATCH] Add job to lint helm-chart Signed-off-by: Marco Franssen --- .github/workflows/helm-chart-ci.yaml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/helm-chart-ci.yaml b/.github/workflows/helm-chart-ci.yaml index cecd1ce..fd20bde 100644 --- a/.github/workflows/helm-chart-ci.yaml +++ b/.github/workflows/helm-chart-ci.yaml @@ -21,3 +21,32 @@ jobs: - name: Verify Docs updated run: .github/scripts/helm-docs.sh + + lint-chart: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout + uses: actions/checkout@v3.1.0 + with: + fetch-depth: 0 + + - name: Set up Helm + uses: azure/setup-helm@v3.4 + with: + version: v3.10.2 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11.1 + + - name: Setup chart-testing + uses: helm/chart-testing-action@v2.3.1 + with: + version: v3.7.1 + + - name: Run chart-testing (lint) + run: | + ct lint --debug \ + --target-branch main