Skip to content

[DIRMINA-1197] Add a Java CI workflow (branch 2.0.X)#56

Merged
elecharny merged 2 commits into
apache:2.0.Xfrom
ppkarwasz:feat/actions-2.0.X
Jun 4, 2026
Merged

[DIRMINA-1197] Add a Java CI workflow (branch 2.0.X)#56
elecharny merged 2 commits into
apache:2.0.Xfrom
ppkarwasz:feat/actions-2.0.X

Conversation

@ppkarwasz
Copy link
Copy Markdown
Member

Same as #54, except it only tests on JDK 8.

ppkarwasz added 2 commits June 4, 2026 10:22
Introduce a GitHub Actions workflow that builds and tests this branch on current runners and action versions.

- Run on ubuntu-latest, windows-latest and macos-latest, testing JDK 8 on Temurin. macOS ARM has no Temurin JDK 8 build, so that combination uses Zulu instead.
- Use actions/checkout@v6 (without persisting credentials), actions/setup-java@v5 (with Maven caching), and an actions/upload-artifact@v7 step for the surefire reports.
- Limit push builds to the maintained production branches so internal feature branches are not built twice.
- Add a workflow-level concurrency group that cancels superseded pull request runs while letting pushes to the production branches run to completion.
- Run `mvn verify` under an explicit bash shell, and set per-job permissions.

Assisted-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@elecharny elecharny merged commit 3c4bc70 into apache:2.0.X Jun 4, 2026
3 checks passed
@ppkarwasz ppkarwasz deleted the feat/actions-2.0.X branch June 4, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants