From 69f072f513449920bee47ae88a6ef9ddea45203a Mon Sep 17 00:00:00 2001 From: Dmytro Bondar Date: Wed, 18 Sep 2024 12:10:08 +0200 Subject: [PATCH] Try k3d cluster --- .github/workflows/chart.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/chart.yml b/.github/workflows/chart.yml index 7516c0d..11bd74c 100644 --- a/.github/workflows/chart.yml +++ b/.github/workflows/chart.yml @@ -24,6 +24,14 @@ jobs: with: fetch-depth: 0 + - name: Check docs + run: | + make helm-docs + if ! git diff --exit-code; then + echo "error::Documentation is not up to date. Please run helm-docs and commit changes." + exit 1 + fi + # ct lint requires Python 3.x to run following packages: # - yamale (https://github.com/23andMe/Yamale) # - yamllint (https://github.com/adrienverge/yamllint) @@ -36,18 +44,12 @@ jobs: - name: Run chart-testing (lint) run: ct lint --config ct.yaml - - name: Check docs - run: | - make helm-docs - if ! git diff --exit-code; then - echo "error::Documentation is not up to date. Please run helm-docs and commit changes." - exit 1 - fi - - - uses: helm/kind-action@v1 + - uses: nolar/setup-k3d-k3s@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run chart-testing (install) - run: ct install --config ct.yaml --skip-clean-up + run: ct install --config ct.yaml - name: Run helm package charts run: |