Skip to content

chore(deps): update github-actions #1092

chore(deps): update github-actions

chore(deps): update github-actions #1092

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.6@sha256:26bc1eaf0a259e8c16d0eeeb8622c7aecaa45d41e39f158696f9aec90b142596
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- 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