diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index a2d7dfd..0c1a14a 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -11,16 +11,22 @@ jobs: fetch-depth: 0 - name: "Install apt dependencies" run: "sudo apt-get install -y graphviz wget curl" - - name: "Cache SonarCloud packages" - uses: "actions/cache@v3" + - name: Cache SonarQube packages + uses: actions/cache@v4 with: - path: "~/.sonar/cache" - key: "${{ runner.os }}-sonar" - restore-keys: "${{ runner.os }}-sonar" - - name: "Set up JDK 17" + 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: "Set up JDK 21" uses: "actions/setup-java@v2" with: - java-version: "17" + java-version: "21" distribution: "adopt" cache: maven - name: "Build artifacts" diff --git a/pom.xml b/pom.xml index f67d1b1..942c339 100644 --- a/pom.xml +++ b/pom.xml @@ -24,8 +24,8 @@ scm:git:git@github.com:tmorin/archicode.git scm:git:git@github.com:tmorin/archicode.git https://github.com/tmorin/archicode - HEAD - + HEAD + GitHub Actions https://github.com/tmorin/archicode/actions @@ -38,17 +38,17 @@ - 3.12.1 - 17 + 3.14.0 + 21 UTF-8 UTF-8 quarkus-bom io.quarkus.platform - 3.7.3 + 3.21.1 true https://sonarcloud.io tmorin - 3.2.3 + 3.5.2 false @@ -96,7 +96,7 @@ org.projectlombok lombok - 1.18.30 + 1.18.34 provided @@ -156,9 +156,7 @@ maven-compiler-plugin ${compiler-plugin.version} - - -parameters - + true @@ -180,16 +178,16 @@ integration-test verify - - - ${project.build.directory}/${project.build.finalName}-runner - - org.jboss.logmanager.LogManager - ${maven.home} - - + + + ${project.build.directory}/${project.build.finalName}-runner + + org.jboss.logmanager.LogManager + ${maven.home} + + maven-release-plugin @@ -241,7 +239,7 @@ false - native + true