2024-10-15 08:11:11 +00:00
|
|
|
name: Lint and Test Charts
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint-test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Set up Helm
|
|
|
|
uses: azure/setup-helm@v4.2.0
|
|
|
|
with:
|
|
|
|
version: v3.14.4
|
|
|
|
|
2024-10-15 11:57:59 +00:00
|
|
|
- name: Check for changed charts
|
|
|
|
id: changed-files
|
|
|
|
uses: tj-actions/changed-files@v45.0.3
|
2024-10-15 08:11:11 +00:00
|
|
|
|
2024-10-15 11:57:59 +00:00
|
|
|
- name: List all changed files
|
|
|
|
run: |
|
|
|
|
for file in ${{ steps.changed-files.output_all_changed_files }}; do
|
|
|
|
echo "$file was changed"
|
|
|
|
done
|
2024-10-15 08:11:11 +00:00
|
|
|
|