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

Misleading/confusing error when workflow has out-of-date Scala #325

Closed
armanbilge opened this issue Jul 8, 2022 · 0 comments · Fixed by #364
Closed

Misleading/confusing error when workflow has out-of-date Scala #325

armanbilge opened this issue Jul 8, 2022 · 0 comments · Fixed by #364

Comments

@armanbilge
Copy link
Member

- name: Check that workflows are up to date
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' 'project /' githubWorkflowCheck

Suppose you just bumped to Scala 3.1.3, and you forgot to re-generate the workflow. Because it attempts to set the Scala version before running the check, you can get into trouble like this:

[error] Switch failed: no subprojects list "3.1.2" (or compatible version) in crossScalaVersions setting.
[error] If you want to force it regardless, call ++ 3.1.2!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant