Closed ckipp01 closed 1 year ago
Maybe mill
isn't installed or not in the PATH
?
Maybe mill isn't installed or not in the PATH?
Wait if you're running https://github.com/scala-steward-org/scala-steward-action do you need to ensure your build tool is installed globally? I sort of just figured Steward made sure of that then running. If the former, then is that documented somewhere?
Yes, I think so. Scala Steward does not install any build tools it tries to run.
Yes, I think so. Scala Steward does not install any build tools tries to run.
Huh, tomorrow I'll try again with Mill installed, but is there a reason for this? Mainly, would you accept a pr in the steward action to just setup Mill? I'm assuming the fact that this works for sbt users is because the ubuntu image just has sbt installed, when in reality I always assumed Steward just made sure these things were here.
but is there a reason for this?
If you mean Scala Steward the JVM program, then the answer is that it is easier to not deal with installing third-party software from a running JVM process. The Docker image produced in this repo installs a bunch of third-party software (including Mill) though.
The Scala Steward GitHub Action does not use the Docker image but installs Scala Steward via Coursier which does not automatically also installs Mill or any other of its dependencies. A PR for setting up Mill in the Scala Steward GitHub Action sounds sensible to me, but I'm no expert wrt GH Actions.
A PR for setting up Mill in the Scala Steward GitHub Action sounds sensible to me, but I'm no expert wrt GH Actions.
Cool, I'll go ahead and close this and try to send in a PR to the steward action to ensure it's installed.
I've noticed that in the public instance of Steward a handful of Mill projects haven't been getting updates. I wasn't able to access the logs in the public instance, but today I set up Scala Steward for the Scala Center org and the one repo over there that uses Mill, bloop-config, failed during the run, which makes me think this is what is hindering the other repos as well. The error is:
And you can see the logs for this here. Any idea why this isn't able to find
mill
?