Skip to content

Update generic-cylc-checks.yml #6

Update generic-cylc-checks.yml

Update generic-cylc-checks.yml #6

name: Check Multiple Workflows
on:
push:
branches: [master, cylc-8]
pull_request:
branches: [master, cylc-8]
workflow_dispatch:
jobs:
check_workflow:
name: Check ${{ matrix.workflow }}
runs-on: ubuntu-latest
strategy:
matrix:
workflow: [simplest, crontab_replacement]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v3
- name: Install dependencies
run: pip install cylc-flow
- name: Cylc Lint ${{ matrix.workflow }}
run: |
cylc lint --color=always ./"${{ matrix.workflow }}"
- name: Cylc validate ${{ matrix.workflow }}
run: |
cylc validate --color=always ./${{ matrix.workflow }}