diff --git a/.github/workflows/test-helm-chart.yml b/.github/workflows/test-helm-chart.yml index 8c2837706ca..5fcf845076a 100644 --- a/.github/workflows/test-helm-chart.yml +++ b/.github/workflows/test-helm-chart.yml @@ -20,13 +20,11 @@ jobs: fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v4 - with: - version: v3.4.0 + uses: azure/setup-helm@v4.1.0 - uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: 3.9 - name: Configure Helm repos run: |- @@ -36,14 +34,17 @@ jobs: - name: Set up chart-testing uses: helm/chart-testing-action@v2.6.1 + with: + yamale_version: 4.0.4 + yamllint_version: 1.35.1 - name: Determine target branch id: ct-branch-target run: | if [ ! -z ${GITHUB_BASE_REF} ]; then - echo "ct-branch=${GITHUB_BASE_REF}" >> $GITHUB_ENV + echo "ct-branch=${GITHUB_BASE_REF}" >> $GITHUB_ENV else - echo "ct-branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV + echo "ct-branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV fi - name: Run chart-testing (list-changed) @@ -58,7 +59,7 @@ jobs: # x.y.z gets bumped automatically when doing a release - name: Run chart-testing (lint) run: ct lint --config ct.yaml --target-branch ${{ env.ct-branch }} --check-version-increment=true - if: ${{ env.changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }} + if: ${{ env.changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }} # run all checks but version increment always when something changed - name: Run chart-testing (lint)