Skip to content

Merge pull request #1086 from tmooney/update_cwltool #6

Merge pull request #1086 from tmooney/update_cwltool

Merge pull request #1086 from tmooney/update_cwltool #6

Workflow file for this run

name: CWL Syntax Check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check_syntax:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'cwltool==3.1.20230601100705'
python -m pip install 'ruamel.yaml==0.17.27'
- name: Run cwltool validate
run: |
cd $GITHUB_WORKSPACE/definitions
find . -name '*.cwl' | xargs -n 1 cwltool --validate