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

Use setup-scala to provide sbt #1182

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Use setup-scala to provide sbt #1182

merged 1 commit into from
Dec 11, 2024

Conversation

bryophyta
Copy link
Contributor

sbt has been removed from Github's base images. The recommendation from DevX is to switch to using the setup-scala action to set up Java and Scala, along with sbt.

See amiable for a prior example.

There's already a .tool-versions file in this repo so we don't need to add one here.

What does this change?

How to test

How can we measure success?

Have we considered potential risks?

Images

Accessibility

sbt has been removed from Github's base images. The recommendation from
DevX is to switch to using the setup-scala action to set up Java and Scala, along with sbt.
@bryophyta bryophyta requested a review from a team as a code owner December 11, 2024 11:26
@@ -15,13 +15,12 @@ jobs:
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
- uses: actions/setup-java@v3
with:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the new action will look at .tool-versions to get the java version, but this file already exists and matches the value specified here (corretto 11), although it's pinned to a specific patch version.

@bryophyta bryophyta merged commit 64e8f26 into main Dec 11, 2024
3 checks passed
@bryophyta bryophyta deleted the pf/setup-scala branch December 11, 2024 12:18
@prout-bot
Copy link

Seen on PROD (merged by @bryophyta 6 minutes and 25 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants