From 1b8283f197aec05d9cd42dfaca863ed8bf8135ab Mon Sep 17 00:00:00 2001 From: Bharat Kunwar Date: Thu, 29 Jul 2021 16:51:44 +0200 Subject: [PATCH] Fix chart linting --- .github/workflows/pr.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 922215b474..0fdd7d62c7 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -12,8 +12,17 @@ jobs: - name: Fetch history run: git fetch --prune --unshallow - - id: lint - name: Run chart-testing (lint) - uses: helm/chart-testing-action@v1.0.0 + - name: Set up Helm + uses: azure/setup-helm@v1 with: - command: lint + version: v3.6.1 + + - uses: actions/setup-python@v2 + with: + python-version: 3.7 + + - name: Set up chart-testing + uses: helm/chart-testing-action@v2.1.0 + + - name: Run chart-testing (lint) + run: ct lint --target-branch ${GITHUB_BASE_REF}