Skip to content

gh-actions: bump helm/kind-action from 1.8.0 to 1.10.0 #476

gh-actions: bump helm/kind-action from 1.8.0 to 1.10.0

gh-actions: bump helm/kind-action from 1.8.0 to 1.10.0 #476

Workflow file for this run

name: Lint and Test Charts
on:
pull_request:
branches:
- main
jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
matrix:
kubernetes_version:
- "kindest/node:v1.25.2"
- "kindest/node:v1.24.6"
- "kindest/node:v1.23.12"
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.4.0
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.8
- name: Set up chart-testing
uses: helm/[email protected]
with:
version: v3.4.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config lint.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --all --debug --config lint.yaml
- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
with:
node_image: ${{ matrix.kubernetes_version }}
config: charts/sorry-cypress/ci/kind-config.yaml
- name: Run chart-testing (install)
run: ct install --debug --config test.yaml