-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
test sbt compatibility via GH matrix rather than dedicated scripted #196
Conversation
b88c801
to
e687523
Compare
Thanks for following up on this! One suggestions is to disable fail fast so we can see all errors at once: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast |
Looking at
|
I am personally ok with supporting only sbt 1.2.x through 1.4.x. Seems a pretty reasonable range. |
@thesamet agreed - some users might be stuck on 1.2.x because of coursier (even though it can be disabled in 1.3.x), but I can't think of any reason to be stuck on 1.0.x or 1.1.x, so I am limiting the matrix to 1.2.8+. By the way, I think the only problem with pre-1.2.x was that https://github.com/portable-scala/sbt-crossproject used in |
@@ -1 +1,2 @@ | |||
# also update .github/workflows/ci.yml to ensure compatibility of the plugin via scripted |
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.
I see mergify is set up here, so I am not sure this comment really helps. Can mergify ignore that specific bump maybe?
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.
Nothing needs to be updated with mergify. The trick we're using is to create a single "ci-passed" job that runs at the very end only if all tests pass:
sbt-protoc/.github/workflows/ci.yml
Lines 45 to 49 in adbb448
ci-passed: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- run: ':' |
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.
Sorry if I wasn't clear: what I meant is that the scala-steward sbt bumps will be merged automatically, so we won't get the opportunity to keep the GH scripted-sbt
array values up to date as sbt 1.4.x patch releases roll out, like this comment suggests.
Thanks! |
Trying #193 (comment)
There are now 3 versions of sbt involved: