Skip to content

Lint and Test Charts #1778

Lint and Test Charts

Lint and Test Charts #1778

Workflow file for this run

name: Lint and Test Charts
on:
pull_request:
schedule:
- cron: 0 4 * * *
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.16.3
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (list-changed)
id: list-changed
run: ct list-changed --config .github/ct.yaml
- name: Run chart-testing (lint)
run: ct lint --config .github/ct.yaml --check-version-increment=false
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.16.3
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Create kind cluster
uses: helm/kind-action@v1.10.0
- name: Run chart-testing (install)
run: ct install --all --config .github/ct.yaml