Skip to content

chore(deps): update gcr.io/distroless/python3-debian12:nonroot docker digest to e575731 #1080

chore(deps): update gcr.io/distroless/python3-debian12:nonroot docker digest to e575731

chore(deps): update gcr.io/distroless/python3-debian12:nonroot docker digest to e575731 #1080

name: validate-fhir-resources
on:
pull_request:
branches:
- master
- beta
push:
branches:
- master
- beta
permissions: read-all
jobs:
validate-fhir-resource:
name: Validate FHIR resources
runs-on: ubuntu-22.04
container: ghcr.io/miracum/ig-build-tools:v2.1.5@sha256:4571ddd801664e2ee8883ae9c22f88d2c5dfe1175b1e93f042ae8bfa9a7e185a
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Restore FHIR package dependencies
run: |
fhir restore
- name: Validate generated FHIR resources
run: |
set -e
for fhir_file in tests/__snapshots__/**/*.fhir.json; do
fhir validate --verbose --fail "$fhir_file";
done