Skip to content

Commit

Permalink
ci: Update pipelines to verify compilation on Java 17
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa committed Jul 12, 2022
1 parent aeabac7 commit 8321107
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8,11]
java: [8,17]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
- name: Setup Java 11 # Move Sonar analysis to Java 11
- name: Setup Java 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Maven Sonar
run: ./mvnw ${MAVEN_ARGS} clean install sonar:sonar -Psonar
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
java: [11]
java: [17]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void testSerializeYamlWithAlias() {
.isNotNull()
.hasFieldOrPropertyWithValue("metadata.name", "test-pod-with-alias")
.hasFieldOrPropertyWithValue("spec.nodeSelector.workload", "build")
.hasFieldOrPropertyWithValue("spec.tolerations.size", 1)
.returns(1, p -> p.getSpec().getTolerations().size())
.hasFieldOrPropertyWithValue("spec.securityContext.runAsGroup", 1000L)
.hasFieldOrPropertyWithValue("spec.securityContext.runAsUser", 1000L)
.extracting(Pod::getSpec).extracting(PodSpec::getContainers).asList()
Expand Down

0 comments on commit 8321107

Please sign in to comment.