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

Scala Steward can not run on this repo until it allows building under Java 21 #267

Open
rtyley opened this issue Apr 30, 2024 · 0 comments

Comments

@rtyley
Copy link
Member

rtyley commented Apr 30, 2024

Following on from guardian/scala-steward-public-repos#67 ... we're now running our Scala Steward workflow with Java 21 LTS, which means that all projects that want to have Scala Steward updates (like this one) need to be able to build under Java 21 (even if the projects are still running in production on Java 8).

An example of Scala Steward failing when trying to handle this repo is here:

https://github.com/guardian/scala-steward-public-repos/actions/runs/8892826235/job/24417749584#step:6:2517

2024-04-30 10:00:04,008 ERROR Steward guardian/identity-processes failed
org.scalasteward.core.io.process$ProcessFailedException: '"SBT_OPTS=-Xmx2048m -Xss8m -XX:MaxMetaspaceSize=512m" sbt -Dsbt.color=false -Dsbt.log.noformat=true -Dsbt.supershell=false -Dsbt.server.forcestart=true ;+ stewardDependencies;reload plugins;stewardDependencies' exited with code 1.
[info] [launcher] getting org.scala-sbt sbt 1.5.8 (this may take some time)...
[info] [launcher] getting Scala 2.12.14 (for sbt)...

Unfortunately the Scala Steward run failing affects everyone, see guardian/scala-steward-public-repos#60 - so I've removed this repo from Scala Steward until this issue is fixed.

How to fix this issue?

Update Scala (2.12.18+) & sbt (1.9.0+)!

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

No branches or pull requests

1 participant