wip #519
Workflow file for this run
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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
- "releases/*" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
#TODO? replace by a charts only ci like https://github.com/helm/chart-testing-action | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
folder: | |
# - cdviz-db | |
- charts | |
- demos | |
steps: | |
- uses: actions/checkout@v4 | |
- name: check changed files | |
uses: tj-actions/changed-files@v45 | |
id: changed-files | |
with: | |
files: | | |
${{ matrix.folder }}/** | |
- name: log | |
if: steps.changed-files.outputs.any_changed != 'true' | |
run: echo "::notice ::no changed files on ${{ matrix.folder }} - skipping" | |
- uses: jdx/mise-action@v2 | |
if: steps.changed-files.outputs.any_changed == 'true' | |
- uses: helm/[email protected] | |
if: steps.changed-files.outputs.any_changed == 'true' | |
- run: mise install | |
if: steps.changed-files.outputs.any_changed == 'true' | |
shell: bash | |
working-directory: ${{ matrix.folder }} | |
- run: mise run ci | |
if: steps.changed-files.outputs.any_changed == 'true' | |
shell: bash | |
working-directory: ${{ matrix.folder }} |