-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use sbt-github-actions #66
Conversation
55eec29
to
588f93c
Compare
build.sbt
Outdated
@@ -1,8 +1,9 @@ | |||
ThisBuild / organization := Organization.organization | |||
ThisBuild / organizationName := Organization.organizationName | |||
ThisBuild / organizationHomepage := Organization.organizationHomepage | |||
ThisBuild / version := "0.4.0-SNAPSHOT" | |||
ThisBuild / scalaVersion := "2.12.19" | |||
val scala212 = "2.12.19" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed so that sbt-github-actions plays well with the scala versions
0e6527d
to
fa99fd3
Compare
@@ -23,13 +24,43 @@ lazy val root = (project in file(".")) | |||
) | |||
}, | |||
scriptedBufferLog := false, | |||
scriptedSbt := "1.10.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically speaking we could find the lowest sbt version that this plugin can support and set scriptedSbt
to this version but honestly I don't think its needed, anyone who will use this plugin will likely be running latest version of sbt anyways and we can always fix this later if needed
Hmm the scripted tests are still failing with @raboof Feel free to add onto this PR if you find the root cause, I am off for the day |
fa99fd3
to
674f2c5
Compare
5c4ab89
to
b3bf4b5
Compare
This PR uses sbt-github-actions to do tests and publishing, it copies an existing configuration from an sbt plugin so its known to work (i.e. see https://github.com/sbt/sbt-license-report/blob/main/build.sbt#L57-L87)