-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable preview feature and update Java version #40
Conversation
.github/workflows/ci.yml
Outdated
@@ -23,7 +23,7 @@ jobs: | |||
- name: Setup Scala | |||
uses: olafurpg/setup-scala@v13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this Github Action, and use the more commonly used actions/java-setup
See olafurpg/setup-scala#49
Sbt 1.7.1 is pre-installed on ubuntu-latest
, so we can simply use the setup-java
action to install JDK 19.
uses: olafurpg/setup-scala@v13 | |
uses: actions/setup-[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: 19 |
It's not documented well yet on the actions/setup-java
but the temurin
Java 19 version is available for all platforms except Windows according to this issue. adoptium/adoptium#171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same applies to all other workflows that rely on setup-scala
Merged the commit with the flaky tests disabled, and green now 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🙌
Updating Java version after Java19 was released past month.