Skip to content

Commit 87c76dc

Browse files
pin java versions
1 parent eac6afa commit 87c76dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
java-version: [17, 21]
21+
java-version: ["17.0.18", "21.0.10"]
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
@@ -29,7 +29,7 @@ jobs:
2929
maven-version: ${{ env.MAVEN_VERSION }}
3030
- name: Sonar Scan
3131
uses: ./.github/actions/scan-with-sonar
32-
if: matrix.java-version == 21
32+
if: matrix.java-version == "21.0.10"
3333
with:
3434
java-version: 21
3535
maven-version: ${{ env.MAVEN_VERSION }}

.pipeline/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ steps:
3333
dockerImage: ""
3434
options:
3535
- sonar.qualitygate.wait=true
36-
- sonar.java.source=17
36+
- sonar.java.source=21
3737
- sonar.sources=cds-feature-console/src/main/java
3838
- sonar.exclusions=**/node_modules/**,**/target/**
3939
- sonar.coverage.jacoco.xmlReportPaths=cds-feature-console/target/site/jacoco/jacoco.xml

0 commit comments

Comments
 (0)