Skip to content

Validate FSH Files

Validate FSH Files #2

Workflow file for this run

name: Validate FSH Files
on:
workflow_dispatch: # Allows the workflow to be triggered manually
env:
IG: mal
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install fsh-validator
run: pip install -U git+https://github.com/glichtner/fsh-validator
- name: Run fsh-validator
run: |
cd ${{ env.IG }}
fsh-validator --all --verbose
# fsh-validator [-h] [--all] [--subdir SUBDIR] [--validator-path PATH_VALIDATOR] [--verbose] [--no-sushi] [--log-path LOG_PATH] [filename [filename ...]]