typelevel / steward

Runs Scala Steward for Typelevel projects
5 stars 10 forks source link

Install scala-cli? #22

Closed rossabaker closed 1 year ago

rossabaker commented 1 year ago

otel4s and scalac-options are broken due to https://github.com/scala-steward-org/scala-steward/issues/2948. I wonder whether we could mitigate it by just installing scala-cli in the action?

armanbilge commented 1 year ago

Yeah I've been wondering the same. The follow-up question is, once it has scala-cli available, what will it do with it 😅

fthomas commented 1 year ago

It instructs Scala CLI to export the "project" to an sbt build and then extracts dependencies from that. If there are no genuine Scala CLI scripts, the exported sbt project will be empty and no additional dependencies are updated.

rossabaker commented 1 year ago

And if it runs amok, which it doesn't sound like it will, we should be able to close the PRs.

armanbilge commented 1 year ago

The steward action now installs it for us.