Skip to content

Merge pull request #48 from CEOsys/fix/cll #309

Merge pull request #48 from CEOsys/fix/cll

Merge pull request #48 from CEOsys/fix/cll #309

Workflow file for this run

name: FHIR Validation
on:
push:
branches:
- main
- master
- staging
pull_request:
branches:
- main
- master
- staging
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
LANG: "en_US.UTF-8"
jobs:
fsh-fhir-validation:
runs-on: ubuntu-latest
steps:
# locale must be set explicitly, otherwise fhir validator 5.7.75 fails
- name: set locale
run: |
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
- name: Checkout code
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install fsh-sushi
run: npm install -g fsh-sushi
- name: Load validator
run: curl -L https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar -o ./validator_cli.jar
- name: Install FHIR R6 CI
run: ./download-fhir-r6-ci.sh
- name: Execute validator
run: fsh-validator --all