Skip to content

Commit 2f4fc3d

Browse files
ruhan1claude
andcommitted
Pin GitHub Actions runners to ubuntu-22.04
The ubuntu-latest runner switched from Ubuntu 22.04 to Ubuntu 24.04 on Jan 17, 2025, which includes Maven 3.9.12. Maven 3.9.6+ enforces stricter Java prerequisites for plugins. While quarkus-maven-plugin 3.6.9 requires Java 17 to execute, our codebase uses Datastax Cassandra Driver 3.7.2 (from path-mapped-storage) which only supports Java 8-11. Upgrading to Datastax Driver 4.x would be a major migration. Pinning to ubuntu-22.04 keeps us on an older Maven version that doesn't enforce the plugin Java requirement as strictly, allowing builds to continue on Java 11. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 788dc8f commit 2f4fc3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/merge-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
publish-snapshot:
2626
name: publish to oss sonatype & push image
2727

28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-22.04
2929

3030
permissions:
3131
contents: read

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on: [pull_request]
2424
jobs:
2525
build:
2626

27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-22.04
2828

2929
steps:
3030
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)