Skip to content

ci: add template checks #1

ci: add template checks

ci: add template checks #1

Workflow file for this run

name: "Template"
on:
pull_request:
jobs:
find-jobs:
name: Find Jobs

Check failure on line 9 in .github/workflows/templates.yml

View workflow run for this annotation

GitHub Actions / Template

Invalid workflow file

The workflow is not valid. .github/workflows/templates.yml (Line: 9, Col: 5): Required property is missing: runs-on .github/workflows/templates.yml (Line: 21, Col: 5): Required property is missing: runs-on
container: debian:buster-slim
outputs:
folders: ${{ steps.jobs.outputs.folders }}
steps:
- uses: actions/checkout@v4
- id: jobs
uses: philips-labs/list-folders-action@v1
with:
path: ./templates
matrix:
name: Run template
needs: [find-jobs]
container: ubuntu
defaults:
run:
working-directory: ${{ matrix.folder }}
strategy:
matrix:
folder: ${{ fromJson(needs.find-jobs.outputs.folders )}}
steps:
- uses: cachix/install-nix-action@v27
- uses: actions/checkout@v4
- run: nix flake check --override-input blueprint ../..