Skip to content

Lint and Test Charts #1825

Lint and Test Charts

Lint and Test Charts #1825

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/[email protected]
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.16.4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/[email protected]
- 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/[email protected]
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.16.4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/[email protected]
- name: Create kind cluster
uses: helm/[email protected]
- name: Run chart-testing (install)
run: ct install --all --config .github/ct.yaml