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 Jan 16, 2024
1 parent 8463ee6 commit d4d593a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8,11]
java: [8,17]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
java: [11]
java: [17]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ void testSerializeYamlWithAlias() {
.hasFieldOrPropertyWithValue("spec.securityContext.runAsGroup", 1000L)
.hasFieldOrPropertyWithValue("spec.securityContext.runAsUser", 1000L)
.extracting(Pod::getSpec)
.returns(Arrays.asList(new Toleration("NoSchedule", "nodeType", "Equal", null, "build")), PodSpec::getTolerations)
.returns(Collections.singletonList(new Toleration("NoSchedule", "nodeType", "Equal", null, "build")),
PodSpec::getTolerations)
.extracting(PodSpec::getContainers).asList()
.hasSize(2)
.extracting("name", "image", "resources.requests.cpu")
Expand Down

0 comments on commit d4d593a

Please sign in to comment.