firelyteam/Firely.Terminal (GitHub Actions)

Run Firely.Terminal and the offical FHIR Java Validator in a GitHub Actions pipeline

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: firelyteam/firely-terminal-pipeline@bda77a2f67210e8baa93c400347ffd2d611973f1 # v0.8.15

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
PATH_TO_CONFORMANCE_RESOURCESRelative paths of the folder(s) containing FHIR Conformance resources (StructureDefinition, ValueSet, CodeSystem)yes
PATH_TO_EXAMPLESRelative paths of the folder(s) containing examples for the FHIR Conformance resources defined by the projectno
PATH_TO_QUALITY_CONTROL_RULESRelative path pointing to Quality Control rules. Path MUST not include the .rules.yaml part of the file. Runs minimal.rules.yaml by default.no
DOTNET_VALIDATION_ENABLEDBoolean flag to run the .NET validator to validate conformance resources and examplesnotrue
JAVA_VALIDATION_ENABLEDBoolean flag to run the offical HL7 Java validator to validate conformance resources and examplesnofalse
EXPECTED_FAILSSpecify which steps in your validation workflow are expected to fail due to possible bugs in the validator(s). Allowed values: VALIDATION_CONFORMANCE_DOTNET, VALIDATION_CONFORMANCE_JAVA, VALIDATION_EXAMPLES_JAVAno
JAVA_VALIDATION_OPTIONSCustom options passed to the Java validator. See https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validatorno-output-style compact
SIMPLIFIER_USERNAMESimplifier email address (not username), needed for running Quality Control checks. Please use GitHub Secrets for this variable.yes
SIMPLIFIER_PASSWORDSimplifier password, needed for running Quality Control checks. Please use GitHub Secrets for this variable.yes
SUSHI_ENABLEDBoolean flag to run fsh-sushi on the current repository to generated conformance resources based on FHIR shorthandnofalse
SUSHI_OPTIONSCustom options passed to SUSHI. See https://www.npmjs.com/package/fsh-sushino
SUSHI_USE_CONFIG_DEPENDENCIESWhen both sushi-config.yaml and package.json exist, set this to true to use sushi-config.yaml as the source-of-truth for dependencies instead of package.json. When false (default), package.json takes precedence if it exists. If only one file exists, that file is used regardless of this setting.nofalse
FIRELY_TERMINAL_VERSIONVersion of Firely Terminal used for .NET-based validationyes3.5.0
JAVA_VALIDATOR_VERSIONVersion of org.hl7.fhir.core library used for Java-based validationyes6.9.12
JAVA_VALIDATOR_DOWNLOAD_LOCATIONURL from which to download the Java validator JARhttps://github.com/hapifhir/org.hl7.fhir.core/releases/download/$JAVA_VALIDATOR_VERSION/validator_cli.jar
SUSHI_VERSIONVersion of SUSHI used for compiling the FSH filesyes3.20.0
TERMINOLOGY_SERVICE_BFARM_ENABLEDEnables downloading packages from the central terminology server for Germany (https://terminologien.bfarm.de/fhirpackages.html)nofalse
JAVA_SNAPSHOT_ENABLEDEnables creating snapshots for the package dependencies using the Java validator. Snapshots created by Firely Terminal will be disregarded. Does not yet work together with the ZTS_ENABLED setting.nofalse
CLOSE_SLICING_FOR_VALIDATIONConstrains all defined element slicings to closed, ensuring that instance elements must conform to one of the declared slices. This strengthens validation by preventing acceptance of elements that do not match the defined slicing discriminators.nofalse
FIRELY_TERMINAL_VALIDATOR_ENGINEValidator engine to use for .NET validation. The new validator engine is used by default since Firely Terminal 3.5.0. Set to "netsdk" to use the old validator engine from pre-3.5.0 versions if needed. Available options: firely, netsdk.no

no outputs