Skip to content

chrore: add linting action #3

chrore: add linting action

chrore: add linting action #3

Workflow file for this run

name: Lint and Test Charts
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint-test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.17.0
- uses: actions/[email protected]
with:
python-version: '3.x'
check-latest: true
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (lint)
run: ct lint --all
# - name: create kind cluster
# if: steps.list-changed.outputs.changed == 'true'
# uses: helm/[email protected]
#
# - name: run chart-testing (install)
# if: steps.list-changed.outputs.changed == 'true'
# run: ct install --target-branch ${{ github.event.repository.default_branch }}