Skip to content

chore(deps): update container-images #378

chore(deps): update container-images

chore(deps): update container-images #378

name: validate-fhir-resources
on:
pull_request:
branches: [master]
push:
branches: [master]
permissions: read-all
jobs:
validate-fhir-resource:
name: Validate FHIR resources
runs-on: ubuntu-22.04
container: ghcr.io/miracum/ig-build-tools:v2.0.9@sha256:da4a32b4a33a7de616a5066e4ce249045a739ea53cb9ac9feb6fa0a97634cd0c
steps:
- name: Checkout code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Restore FHIR package dependencies
working-directory: fhir/
run: |
fhir restore
- name: Validate generated FHIR resources
working-directory: fhir/
shell: bash
run: |
find ../src/ -name "*.fhir.json" -exec fhir validate --verbose --fail "{}" \;