Skip to content

Add CI

Add CI #12

Workflow file for this run

name: ci
on:
# Run on all PRs
pull_request:
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
charts: ${{ steps.changes.outputs.changes }}
steps:
-
name: Find changed charts
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
aserto:
- 'aserto/**'
aserto_lib:
- 'aserto-lib/**'
authorizer:
- 'authorizer/**'
console:
- 'console/**'
directory:
- 'directory/**'
discovery:
- 'discovery/**'
scim:
- 'scim/**'
test-changes:
runs-on: ubuntu-latest
needs: detect-changes
strategy:
matrix:
chart: ${{ fromJSON(needs.detect-changes.outputs.charts) }}
steps:
-
name: Lint ${{ matrix.chart.name }}
run: |
echo "Linting ${{ matrix.chart.name }}. Modified: ${{ matrix.chart.modified }}"