GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: update workflows to Java 21 (#3191) · assertj/assertj@5ea3760

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • binary-compatibility.yml
    • cross-version.yml
    • dependency-graph.yml
    • main.yml
    • pitest-receive-pr.yml
    • pitest-updated-pr.yml
    • release.yml
  • assertj-core
    • pom.xml
    • src/main
      • javadoc
        • assertj-javadoc.css
      • java/org/assertj/core/api
        • AbstractStringAssert.java
  • assertj-guava
    • pom.xml
    • src/main/javadoc
      • assertj-javadoc.css
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/binary-compatibility.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/binary-compatibility.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/setup-java@v4
2323
with:
2424
distribution: 'zulu'
25-
java-version: 17
25+
java-version: '21'
2626
cache: 'maven'
2727

2828
- name: Checkout `${{ github.base_ref }}` into subfolder
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/setup-java@v4
5555
with:
5656
distribution: 'zulu'
57-
java-version: 17
57+
java-version: '21'
5858
cache: 'maven'
5959

6060
- name: Compare with the latest release
Collapse file

‎.github/workflows/cross-version.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/cross-version.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
java: [21, 22, 23]
15+
java: [22, 23]
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
Collapse file

‎.github/workflows/dependency-graph.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/dependency-graph.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- name: Set up JDK 17
1818
uses: actions/setup-java@v4
1919
with:
20-
java-version: '17'
21-
distribution: 'temurin'
22-
cache: maven
20+
distribution: 'zulu'
21+
java-version: '21'
22+
cache: 'maven'
2323
- name: Update dependency graph
2424
uses: advanced-security/maven-dependency-submission-action@v3
Collapse file

‎.github/workflows/main.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@v4
2323
with:
2424
distribution: 'zulu'
25-
java-version: 17
25+
java-version: '21'
2626
cache: 'maven'
2727
- name: Test
2828
run: ./mvnw $MAVEN_ARGS verify
@@ -38,8 +38,8 @@ jobs:
3838
uses: actions/setup-java@v4
3939
with:
4040
distribution: 'zulu'
41-
java-version: '17'
42-
cache: maven
41+
java-version: '21'
42+
cache: 'maven'
4343
- name: Generate Javadoc
4444
run: ./mvnw $MAVEN_ARGS -DskipTests package javadoc:javadoc
4545

@@ -57,7 +57,7 @@ jobs:
5757
uses: actions/setup-java@v4
5858
with:
5959
distribution: 'zulu'
60-
java-version: 17
60+
java-version: '21'
6161
cache: 'maven'
6262
- name: Test with Sonar
6363
run: >
Collapse file

‎.github/workflows/pitest-receive-pr.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/pitest-receive-pr.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/setup-java@v4
3636
with:
3737
distribution: 'zulu'
38-
java-version: 17
38+
java-version: '21'
3939
cache: 'maven'
4040
- name: run pitest
4141
# pitest has been bound to a profile called pitest for normal running
Collapse file

‎.github/workflows/pitest-updated-pr.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/pitest-updated-pr.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-java@v4
3434
with:
3535
distribution: 'zulu'
36-
java-version: 17
36+
java-version: '21'
3737
- name: Download artifact
3838
uses: dawidd6/action-download-artifact@v3
3939
with:
Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v4
1919
with:
2020
distribution: 'zulu'
21-
java-version: 17
21+
java-version: '21'
2222
server-id: ossrh
2323
server-username: OSSRH_USERNAME
2424
server-password: OSSRH_TOKEN
Collapse file

‎assertj-core/pom.xml‎

Copy file name to clipboardExpand all lines: assertj-core/pom.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
<bottom><![CDATA[
454454
Copyright &#169; {currentYear} {organizationName}. All rights reserved.
455455
<link rel="stylesheet" href="./assertj-javadoc.css"">
456-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
456+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
457457
<script>hljs.highlightAll();</script>
458458
]]></bottom>
459459
</configuration>
Collapse file

‎assertj-core/src/main/java/org/assertj/core/api/AbstractStringAssert.java‎

Copy file name to clipboardExpand all lines: assertj-core/src/main/java/org/assertj/core/api/AbstractStringAssert.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected AbstractStringAssert(String actual, Class<?> selfType) {
5353
* assertThat(&quot;abc&quot;).isLessThan(&quot;bcd&quot;)
5454
* .isLessThan(&quot;b&quot;)
5555
* .isLessThan(&quot;abca&quot;)
56-
* .usingComparator(CASE_INSENSITIVE)
56+
* .usingComparator(String.CASE_INSENSITIVE_ORDER)
5757
* .isLessThan(&quot;BCD&quot;);
5858
*
5959
* // assertions fail
@@ -84,7 +84,7 @@ public SELF isLessThan(String other) {
8484
* .isLessThanOrEqualTo(&quot;abc&quot;)
8585
* .isLessThanOrEqualTo(&quot;b&quot;)
8686
* .isLessThanOrEqualTo(&quot;abca&quot;)
87-
* .usingComparator(CASE_INSENSITIVE)
87+
* .usingComparator(String.CASE_INSENSITIVE_ORDER)
8888
* .isLessThanOrEqualTo(&quot;ABC&quot;);
8989
*
9090
* // assertions fail
@@ -113,7 +113,7 @@ public SELF isLessThanOrEqualTo(String other) {
113113
* assertThat(&quot;xyz&quot;).isGreaterThan(&quot;abc&quot;)
114114
* .isGreaterThan(&quot;xy&quot;)
115115
* .isGreaterThan(&quot;ABC&quot;);
116-
* assertThat(&quot;XYZ&quot;).usingComparator(CASE_INSENSITIVE)
116+
* assertThat(&quot;XYZ&quot;).usingComparator(String.CASE_INSENSITIVE_ORDER)
117117
* .isGreaterThan(&quot;abc&quot;);
118118
*
119119
* // assertions fail
@@ -144,7 +144,7 @@ public SELF isGreaterThan(String other) {
144144
* .isGreaterThanOrEqualTo(&quot;xyz&quot;)
145145
* .isGreaterThanOrEqualTo(&quot;xy&quot;)
146146
* .isGreaterThanOrEqualTo(&quot;ABC&quot;);
147-
* assertThat(&quot;XYZ&quot;).usingComparator(CASE_INSENSITIVE)
147+
* assertThat(&quot;XYZ&quot;).usingComparator(String.CASE_INSENSITIVE_ORDER)
148148
* .isGreaterThanOrEqualTo(&quot;abc&quot;);
149149
*
150150
* // assertions fail
@@ -175,7 +175,7 @@ public SELF isGreaterThanOrEqualTo(String other) {
175175
* .isBetween(&quot;aa&quot;, &quot;ab&quot;)
176176
* .isBetween(&quot;ab&quot;, &quot;ab&quot;)
177177
* .isBetween(&quot;a&quot;, &quot;c&quot;)
178-
* .usingComparator(CASE_INSENSITIVE)
178+
* .usingComparator(String.CASE_INSENSITIVE_ORDER)
179179
* .isBetween("AA", "AC");
180180
*
181181
* // assertions fail
@@ -206,7 +206,7 @@ public SELF isBetween(String startInclusive, String endInclusive) {
206206
* <pre><code class='java'> // assertions succeed
207207
* assertThat(&quot;ab&quot;).isStrictlyBetween(&quot;aa&quot;, &quot;ac&quot;)
208208
* .isStrictlyBetween(&quot;a&quot;, &quot;c&quot;)
209-
* .usingComparator(CASE_INSENSITIVE)
209+
* .usingComparator(String.CASE_INSENSITIVE_ORDER)
210210
* .isStrictlyBetween("AA", "AC");
211211
*
212212
* // assertions fail
@@ -314,7 +314,7 @@ public AbstractByteArrayAssert<?> decodedAsBase64() {
314314
* <p>
315315
* Examples :
316316
* <pre><code class='java'> // assertions succeed
317-
* assertThat(&quot;abc&quot;).usingComparator(CASE_INSENSITIVE)
317+
* assertThat(&quot;abc&quot;).usingComparator(String.CASE_INSENSITIVE_ORDER)
318318
* .isEqualTo(&quot;Abc&quot;)
319319
* .isEqualTo(&quot;ABC&quot;);
320320
*
@@ -339,7 +339,7 @@ public SELF usingComparator(Comparator<? super String> customComparator) {
339339
* <p>
340340
* Examples :
341341
* <pre><code class='java'> // assertions succeed
342-
* assertThat(&quot;abc&quot;).usingComparator(CASE_INSENSITIVE, &quot;String case insensitive comparator&quot;)
342+
* assertThat(&quot;abc&quot;).usingComparator(String.CASE_INSENSITIVE_ORDER, &quot;String case insensitive comparator&quot;)
343343
* .isEqualTo(&quot;Abc&quot;)
344344
* .isEqualTo(&quot;ABC&quot;);
345345
*

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.