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

Automate scalameta updates #462

Merged
merged 1 commit into from Mar 13, 2024
Merged

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Mar 11, 2024

Fix #461

@adpi2 adpi2 requested a review from tgodzik March 11, 2024 12:44
build.sbt Outdated
val localSnapshotVersion = "0.7.0-SNAPSHOT"
// scala-steward:off
val zio = "1.0.18"
// scala-steward:on
}

// Scala steward dependencies for auto-update
lazy val scalameta = "org.scalameta" %% "scalameta" % V.scalameta
Copy link

Choose a reason for hiding this comment

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

Is this enough to do? We don't have to add the dep to any project?

Copy link
Member Author

Choose a reason for hiding this comment

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

I am not sure. It is probably safer to add it to a project then.

lazy val root = project
.in(file("."))
.settings(
// for scala-steward
Copy link

Choose a reason for hiding this comment

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

Suggested change
// for scala-steward
// for scala-steward
publish / skip := true,
// silent the intransitive dependency warning
publishMavenStyle := false,

maybe? We do it in Metals https://github.com/scalameta/metals/blob/main/build.sbt#L771

@adpi2 adpi2 merged commit 69cde4e into scalacenter:main Mar 13, 2024
5 of 6 checks passed
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.

scala3-migrate may need a newer scalameta version
2 participants