-
Notifications
You must be signed in to change notification settings - Fork 30
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
Archive this repo? #49
Comments
I am OK with archiving this project, but it's used in 905 public repos (https://sourcegraph.com/search?q=context:global+olafurpg/setup-scala+lang:yaml+select:repo+count:10000&patternType=literal) so I want to do it carefully and communicate the migration clearly. There shouldn't be any need for users to migrate either if they're happy with this action. The migration path will be something like this:
WDYT? cc/ @alexarchambault @laughedelic |
I just took a look at https://github.com/actions/setup-java and it doesn't support GraalVM, which is a blocker to recommend it as an alternative IMO. I think coursier/setup-action provides a better migration path. |
Overall 👍 but I would refine like this:
|
the ticket to thumbs-up is: actions/setup-java#195 |
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
Motivation: See olafurpg/setup-scala#49: - olafurpg/setup-scala is no longer considered necessary by its maintainer and will probably be archived at some point. - Ubuntu runners now include the official SBT launcher by default. - actions/setup-java is the official action for setting up a JDK, so we might as well use that if it"s sufficient for our purpose. Modifications: - Replace olafurpg/setup-scala with actions/setup-java. - Use Zulu JDK.
I think what would solve our issues, would be a resolution to actions/setup-java#266 The resolution would be one of the following:
Assuming one of the above 2 is done, then this project can either continue to exist, in that newly revamped form, or be replaced by a new, |
My 2 cents as a humble Scala user. I think that it would be the best for the whole Scala community if there were exactly one blessed GitHub action that would be also described in official Scala documentation. We can't prohibit people from experimenting with other GH Actions or custom scripts, but that's on them. It would be also great if Scala Center could commit to maintaining such Action, so that people can feel comfortable relying on it in the long term. Frequent hoping (and the fear there of) between different scaffolding solutions like GitHub Actions causes unnecessary friction. Fractured landscape of competing solutions (with unclear future and feature set) is hard to navigate, especially for beginners. The official Scala GitHub Actions ideally
Is https://github.com/coursier/setup-action supposed to be (or to become) such official Scala setup Action? What features described above is it currently lacking? @alexarchambault Overview of current setup solutions
CCing @bvenners and @tpolecat as the Community representatives with Scala Center |
For the record @japgolly intends https://github.com/japgolly/setup-everything-scala to be such one stop solution for everything Scala related. But it doesn't support Scala Native, at least yet. |
Speaking of which, can anyone please point me to a GHA for Scala Native? Me googling around didn't turn up anything. |
@japgolly See for example the repo for scopt/scopt (https://github.com/scopt/scopt/blob/560142e47fe17336f3fd29fbca3861ce4e222268/.github/workflows/ci.yml). I can call sbt -v +scoptNative/test without any additional setup on top of "ubuntu-latest". I think historically you needed:
But as far as I can tell, this is no longer required. I am not sure if this is due to ubuntu-latest getting more things, or Scala Native requiring less things. For Windows, you might want to look at what Scala Native's repo does (https://github.com/scala-native/scala-native/blob/v0.4.3/.github/actions/windows-setup-env/action.yml). |
I think the situation might be radically different if you want to build an actual application, like a CLI tool. See recent experience of @keynmol
https://discord.com/channels/632150470000902164/635668881951686686/1008088682638626816 |
olafurp/setup-scala will be archived at some point (olafurpg/setup-scala#49) and sbt is already included in GitHub's runners.
There were many options suggested in text and in other PRs linked from olafurpg/setup-scala#49 but this seems to make the most sense for DV and also _really_ reduces the workflow code. Fixes #142
setup-scala is no longer maintained. See: olafurpg/setup-scala#49
setup-scala is no longer maintained. See: olafurpg/setup-scala#49
Hi, |
I would still suggest that this repo be archived. |
Agree to do both. |
on Twitter @olafurpg said that was the plan:
cc @eed3si9n
The text was updated successfully, but these errors were encountered: