Fix releaser #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test Charts | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.4.0 | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.10 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} | |
install-chart: | |
name: install-chart | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
k8s: | |
- v1.21.12 | |
- v1.22.9 | |
- v1.23.6 | |
- v1.24.0 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.10.0 | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.10 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Create kind ${{ matrix.k8s }} cluster | |
uses: helm/[email protected] | |
with: | |
node_image: kindest/node:${{ matrix.k8s }} | |
- name: Run chart-testing (install) ${{ matrix.k8s }} | |
run: ct install --all |