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

Update sbt and add windows back to CI #163

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

mdedetrich
Copy link
Contributor

The latest version of sbt fixes the bug which caused scripted tests to not work on windows (see sbt/sbt#7087) so this PR updates to the latest sbt version and adds windows back to CI.

Resolves: #126

@mdedetrich mdedetrich force-pushed the add-windows-back-to-ci branch 6 times, most recently from a8071e7 to 4e30ea5 Compare September 14, 2023 08:10
@mdedetrich mdedetrich force-pushed the add-windows-back-to-ci branch 2 times, most recently from 87a2d13 to fd80d5b Compare September 14, 2023 10:32
build.sbt Outdated
@@ -51,7 +50,7 @@ ThisBuild / version := {
}

sbtPlugin := true
pluginCrossBuild / sbtVersion := "1.5.5"
pluginCrossBuild / sbtVersion := "1.9.5"
Copy link
Contributor Author

@mdedetrich mdedetrich Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So theoritically speaking I don't think you need to update this because afaik this sbt setting is mandating the minimum sbt version that the sbt-github-actions plugin needs to compile where as build.properties (which this PR adds/updates as neccessary) specifies the actual sbt version that is used at runtime when the scripted tests are being run. See sbt/sbt#7087 (comment) for more context

@eed3si9n Maybe you have a better idea what is going on here? I also think that updating pluginCrossBuild / sbtVersion can be problematic because you are essentially forcing the minimum sbt version on downstream consumers and this sbt plugin does not actually need such a new sbt version.

@mdedetrich
Copy link
Contributor Author

@eed3si9n Everything should be good now

@mdedetrich mdedetrich merged commit 04f573a into sbt:main Sep 15, 2023
7 checks passed
@mdedetrich mdedetrich deleted the add-windows-back-to-ci branch September 15, 2023 18:39
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

Successfully merging this pull request may close these issues.

Generative plugin spec failing on Windows (but not CI)
2 participants