Skip to content

chore(deps): update helm/chart-testing-action action to v2.7.0 #322

chore(deps): update helm/chart-testing-action action to v2.7.0

chore(deps): update helm/chart-testing-action action to v2.7.0 #322

Workflow file for this run

name: Lint helm chart
on:
push:
paths:
- 'charts/**'
- '.github/**'
workflow_dispatch:
env:
HELM_VERSION: v3.10.0
jobs:
lint-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
# python is a requirement for the chart-testing action below (supports yamllint among other tests)
- uses: actions/setup-python@v5
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.7.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config charts/.ci/ct-config.yaml --target-branch main)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --config charts/.ci/ct-config.yaml --target-branch main