fix: elevate disk_size params to workflow level #758
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflows Miniwdl Check | |
on: [push] | |
jobs: | |
miniwdl_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.10' | |
- name: Install miniwdl | |
run: | | |
python -m pip install --upgrade pip | |
pip install miniwdl | |
- name: Run miniwdl | |
run: | | |
EXITCODE=0 | |
echo "Checking WDL files using \`miniwdl check\`." | |
shopt -s extglob | |
files=$(find ./!(template) -name '*.wdl') | |
for file in $files; do | |
echo " [***] $file [***]" | |
miniwdl check "$file" | |
EXITCODE=$(($? || EXITCODE)) | |
done | |
exit $EXITCODE |