Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yisraelU committed May 15, 2024
1 parent d0cbe31 commit 29a1f13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ jobs:
- name: "Run tests and compile documentation 🚀"
run: nix develop -c sbt 'buildRedis4Cats'

- name: "Test for Binary Compatibility 📦"
run: nix develop -c sbt 'mimaReportBinaryIssuesIfRelevant'

- name: "Shutting down Redis 🐳"
run: docker-compose down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ lazy val microsite = project

// CI build
addCommandAlias("buildDoc", ";++2.13.12;mdoc;doc")
addCommandAlias("buildRedis4Cats", ";mimaReportBinaryIssuesIfRelevant;+test;buildDoc")
addCommandAlias("buildRedis4Cats", ";+test;buildDoc")
addCommandAlias("buildSite", ";doc;makeMicrosite")
addCommandAlias("publishSite", ";doc;publishMicrosite")
1 change: 1 addition & 0 deletions project/MimaVersionPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ object MimaVersionPlugin extends AutoPlugin {
val tags = scala.util
.Try("git tag --list".!!.split("\n").map(_.trim))
.getOrElse(new Array[String](0))
println(tags.mkString("\n"))

// in semver, we allow breakage in minor releases if major is 0, otherwise not
val Pattern =
Expand Down

0 comments on commit 29a1f13

Please sign in to comment.