Skip to content
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

Merged
merged 4 commits into from
Oct 21, 2022
Merged

Conversation

nychi713
Copy link
Contributor

@nychi713 nychi713 commented Oct 7, 2022

Updating Java version after Java19 was released past month.

@@ -23,7 +23,7 @@ jobs:
- name: Setup Scala
uses: olafurpg/setup-scala@v13
Copy link
Contributor

@nomisRev nomisRev Oct 19, 2022

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.

Suggested change
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

Copy link
Contributor

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

@nomisRev
Copy link
Contributor

nomisRev commented Oct 19, 2022

Merged the commit with the flaky tests disabled, and green now 👍
Small comment to improve the workflows to remove outdated Github Action, and rely on official JDK 19 support.

Copy link
Contributor

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

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

LGTM 🙌

@nychi713 nychi713 merged commit 15d80a4 into main Oct 21, 2022
@nychi713 nychi713 deleted the 47deg/CU_2p11u1h branch October 21, 2022 15:24
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