@@ -4,11 +4,12 @@ name: CI (FHIR Validation)
44
55# Controls when the action will run.
66on :
7- # Triggers the workflow on push or pull request events but only for the master branch
7+ # Triggers the workflow on push or pull request events but only for the master branch.
8+ # Added working branch to support clean-up of current validation issues - will be removed once branch is merged.
89 push :
9- branches : [ master ]
10+ branches : [ main, adesso-update-mapping ]
1011 pull_request :
11- branches : [ master ]
12+ branches : [ main, adesso-update-mapping ]
1213
1314 # Allows you to run this workflow manually from the Actions tab
1415 workflow_dispatch :
@@ -23,24 +24,36 @@ jobs:
2324
2425 # Steps represent a sequence of tasks that will be executed as part of the job
2526 steps :
26- - name : Checkout code
27- uses : actions/checkout@v2
27+ - uses : actions/checkout@v4
28+ - uses : actions/setup-node@v4
29+ with :
30+ node-version : ' 20'
2831
29- # Java and .NET are already installed on ubuntu-latest
32+ # Install .NET runtime
33+ - name : Setup .NET Core SDK
34+ uses : actions/setup-dotnet@v4
35+ with :
36+ dotnet-version : 8.0.x
37+
38+ # Install Java runtime (only needed if you want to run the offical HL7 Java validator)
39+ - name : Setup Java JDK
40+ uses : actions/setup-java@v4
41+ with :
42+ distribution : ' temurin'
43+ java-version : ' 17'
3044
3145 - name : Firely.Terminal (GitHub Actions)
32- uses : FirelyTeam/firely-terminal-pipeline@v0.4.0
46+ uses : FirelyTeam/firely-terminal-pipeline@v0.7.8
3347 with :
34- PATH_TO_CONFORMANCE_RESOURCES : Resources/fsh-generated/resources/
35- # PATH_TO_EXAMPLES: Examples
36- PATH_TO_QUALITY_CONTROL_RULES : qc/custom
48+ PATH_TO_CONFORMANCE_RESOURCES : src/fhir/fsh-generated/resources/
49+ FIRELY_TERMINAL_VERSION : 3.4.0
50+ PATH_TO_EXAMPLES : src/fhir/fsh-generated/resources
51+ # PATH_TO_QUALITY_CONTROL_RULES: qc/custom
3752 DOTNET_VALIDATION_ENABLED : true
3853 JAVA_VALIDATION_ENABLED : true
39- OUTPUT_FORMAT : RAW
40- JAVA_VALIDATION_OPTIONS : -allow-example-urls true
41- JAVA_VALIDATOR_VERSION : 6.0.11
54+ JAVA_VALIDATION_OPTIONS : -allow-example-urls true -advisor-file advisor.json -output-style compact -show-message-ids -ig kbv.all.st#1.24.0 -ig kbv.basis#1.7.0
4255 SIMPLIFIER_USERNAME : ${{ secrets.SIMPLIFIER_USERNAME }}
4356 SIMPLIFIER_PASSWORD : ${{ secrets.SIMPLIFIER_PASSWORD }}
4457 SUSHI_ENABLED : true
45- SUSHI_OPTIONS : Resources/
46- EXPECTED_FAILS : VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA
58+ SUSHI_OPTIONS : src/fhir
59+ EXPECTED_FAILS : VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA
0 commit comments