Skip to content

chore(deps): update container-images (major) - autoclosed #178

chore(deps): update container-images (major) - autoclosed

chore(deps): update container-images (major) - autoclosed #178

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.4@sha256:1b2bc9cb9a9ee3bb57b1f52dffeb9467dd9660517ef28d5af123eba98372d95a
steps:
- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 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 "{}" \;