diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 1ceea88..dcd1297 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -11,25 +11,14 @@ jobs: fetch-depth: 0 - name: Install apt dependencies run: sudo apt-get install -y graphviz - - name: Cache SonarCloud packages - uses: actions/cache@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: "17" - distribution: "adopt" + java-version: "21" + distribution: "temurin" cache: maven - name: Build with Maven run: ./mvnw -P native --batch-mode --update-snapshots verify - - name: Analyze with Sonar - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=tmorin_faggregate - name: Deploy snapshots with Maven if: ${{ github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'chore(release)') }} run: ./mvnw --batch-mode --update-snapshots deploy diff --git a/.sdkmanrc b/.sdkmanrc index 7112338..309349c 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,3 +1,3 @@ # Enable auto-env through the sdkman_auto_env config # Add key=value pairs of SDKs to use below -java=11.0.18-tem +java=21.0.10-tem diff --git a/core-api/pom.xml b/core-api/pom.xml index 62fc5a0..1336945 100644 --- a/core-api/pom.xml +++ b/core-api/pom.xml @@ -12,11 +12,6 @@ The API of the library. - - 11 - 11 - - diff --git a/core-scenario/pom.xml b/core-scenario/pom.xml index 92cbffa..f1cbbc3 100644 --- a/core-scenario/pom.xml +++ b/core-scenario/pom.xml @@ -12,11 +12,6 @@ The module provides a framework to write test scenarios. - - 11 - 11 - - diff --git a/examples/todo-infra-quarkus/pom.xml b/examples/todo-infra-quarkus/pom.xml index abca1d8..454d60b 100644 --- a/examples/todo-infra-quarkus/pom.xml +++ b/examples/todo-infra-quarkus/pom.xml @@ -14,7 +14,7 @@ 3.12.1 - 17 + 21 UTF-8 UTF-8 quarkus-bom diff --git a/pom.xml b/pom.xml index 06465f0..f8747ef 100644 --- a/pom.xml +++ b/pom.xml @@ -58,10 +58,8 @@ UTF8 UTF8 - 11 - 11 - tmorin - https://sonarcloud.io + 21 + 21 @@ -74,7 +72,7 @@ org.jacoco jacoco-maven-plugin - 0.8.10 + 0.8.12 diff --git a/spi-api/pom.xml b/spi-api/pom.xml index 5a87132..8a5fbc8 100644 --- a/spi-api/pom.xml +++ b/spi-api/pom.xml @@ -12,11 +12,6 @@ The API of the integration of the library with SPI. - - 11 - 11 - -