You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a composite action can't use a local action with pre steps which means things would be a bit messy if one tried to rearrange things (but I'm going to try because it's interesting)
one could write code to reimplement setup-sbt or manually try the various poor ways of installing sbt by hand
this action should at least have better error handling for when sbt is missing as the current top level output is really unhelpful:
Run scala-steward-org/scala-steward-action@v2
✓ Scala Steward workspace created
Trying to restore workspace contents from cache...
Launching org.scala-steward:scala-steward-core_2.13:0.30.2
Saving workspace to cache...
Error: ✕ Launching org.scala-steward:scala-steward-core_2.13:0.30.2 failed
The text was updated successfully, but these errors were encountered:
As noted in:
sbt
is installed on Ubuntu 24 actions/setup-java#712GitHub's ubuntu-24.04 runners don't include
sbt
.This means that a workflow like this (in a repository
github-organization-owner/github-repository
in a file.github/workflows/scala-steward.yml
):... will result in this error:
The fix is to conditionally install
sbt
.There are various ways to do this. Sadly, I can't find any particularly good ways to do this.
pre
steps which means things would be a bit messy if one tried to rearrange things (but I'm going to try because it's interesting)sbt
(and does fancy things for caching) but see the previous two pointssetup-sbt
or manually try the various poor ways of installingsbt
by handsbt
is missing as the current top level output is really unhelpful:The text was updated successfully, but these errors were encountered: