Skip to content

Conversation

@sebthom
Copy link
Contributor

@sebthom sebthom commented Oct 25, 2025

  • update URLs to reference documentation
  • test on MacOS ARM and Intel
  • update versions of github actions (checkout, setup-java)
  • parameterize validate job so that in case of errors an SSH debug session can be opened
  • decouple Gradle JRE from compile/test JDK

@jonahgraham jonahgraham self-requested a review October 25, 2025 20:08
- update URLs to reference documentation
- test on MacOS ARM and Intel
- update versions of github actions (checkout, setup-java)
- parameterize validate job so that in case of errors an SSH debug
session can be opened
- Decouple JDK to run Gradle from the JDK used to compile/test.
- Use Java toolchains to select JDK 11 for compilation.
- Set javac --release 11 for consistent API/bytecode.
- Launch Test tasks with the JDK 11 toolchain.
- Keep sourceCompatibility for IDEs; omit targetCompatibility.
Copy link
Contributor

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have split this out into #918 which includes these changes plus some others, in particular to allow build and test with Java 21 while still generating Java 11 bytecode.

workflow_dispatch:
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
inputs:
debug-with-ssh:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left the SSH parts out of #918 - I don't understand full ramifications of such an inclusion. If you think this is important, please create a new focused PR with this.

steps:
- name: "Show: GitHub context"
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left this out of #918 - the github context has some amount of secrets which GH replaces with *** but I don't understand the benefit of having this. If you think this is important, please create a new focused PR with this.

Same for env | sort below.

@sebthom sebthom closed this Nov 14, 2025
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