the helm-lint CI workflow calls `make helm.lint` which depended on several tools like helm and ct being available in the $PATH. `make helm.lint` has recently been made self-contained so that it does not need those tools installed any more. This change simplifies the helm-lint workflow so that it does not install now unneeded tools anymore. Signed-off-by: Michael Adam <obnox@samba.org>
35 lines
753 B
YAML
35 lines
753 B
YAML
# Reference https://github.com/helm/chart-testing-action/tree/master#example-workflow
|
|
name: Lint Charts
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
# cancel the in-progress workflow when PR is refreshed.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
|
|
- name: Run chart-testing (lint)
|
|
run: make helm.lint |