Skip to content

misc(CI): Add CI

misc(CI): Add CI #1

Workflow file for this run

on: pull_request
name: Lint and Test Charts
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/setup-helm@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@v2
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed)
if [[ -n "$changed" ]]; then
echo "{changed}={true}" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct lint
- name: Create Kind cluster
uses: helm/kind-action@v1
if: ${{ needs.list-changed.outputs.changed }} == 'true'
- name: Run chart-testing (install)
run: ct install