Update dependency ca.uhn.hapi.fhir:hapi-fhir-base to v7.0.2 #704
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Build | |
if: github.repository == 'nr23730/MtbImporter' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Cache SonarCloud packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Checkout MIG Maven Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/maven | |
ref: 061d99ff7da75f53b2b27b6193dcf2a9d254ed93 | |
- name: Build MIG Maven Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout MIG Spring Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/maven.spring | |
ref: 322fa274c9532b89b61d69b1785060e9c391aee4 | |
- name: Build MIG Spring Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/dataelementhub.maven | |
ref: bff16bc88486891d0c8d3ba3ec22d4ad7c539749 | |
- name: Build Build DataElementHub Parent | |
run: sed -i '8 i <version>11.0.0</version>' pom.xml && mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub Spring Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/dataelementhub.maven.spring | |
ref: d3e6bed8ead13396e0a52127fef9f685aebbec84 | |
- name: Build DataElementHub Spring Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub DAL | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/dataelementhub.dal | |
ref: 079da7a05cd4ab29cc45ee2c19749c6baa82b3ea | |
- name: Build DataElementHub DAL | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dmaven.compiler.release=17 | |
- name: Checkout DataElementHub Model | |
uses: actions/checkout@v4 | |
with: | |
repository: mig-frankfurt/dataelementhub.model | |
ref: d67f3654b371b94394d2c7eaf8b1a83188303df4 | |
- name: Build DataElementHub Model | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- uses: actions/checkout@v4 | |
- name: Build and analyze | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.organization=nr23730 -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=nr23730_MtbImporter |