Skip to content

wip

wip #519

Workflow file for this run

---
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 }}