Skip to content

Commit 65cdbbd

Browse files
konardclaude
andcommitted
refactor(ci): use single latest Java version (21) for testing
- Change CI test matrix from Java 17+21 to Java 21 only - Update env.JAVA_VERSION to 21 for consistency across workflow - Update Codecov upload condition to match new Java version This simplifies the template CI by testing only on the latest Java version, as requested for the template repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 940abcc commit 65cdbbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ concurrency:
3535
cancel-in-progress: true
3636

3737
env:
38-
JAVA_VERSION: '17'
38+
JAVA_VERSION: '21'
3939
JAVA_DISTRIBUTION: 'temurin'
4040

4141
jobs:
@@ -127,7 +127,7 @@ jobs:
127127
fail-fast: false
128128
matrix:
129129
os: [ubuntu-latest, macos-latest, windows-latest]
130-
java: ['17', '21']
130+
java: ['21']
131131
steps:
132132
- name: Checkout code
133133
uses: actions/checkout@v4
@@ -143,7 +143,7 @@ jobs:
143143
run: mvn test jacoco:report -B
144144

145145
- name: Upload coverage to Codecov
146-
if: matrix.os == 'ubuntu-latest' && matrix.java == '17'
146+
if: matrix.os == 'ubuntu-latest' && matrix.java == '21'
147147
uses: codecov/codecov-action@v4
148148
with:
149149
file: target/site/jacoco/jacoco.xml

0 commit comments

Comments
 (0)