-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d88246
commit 3b82789
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,27 @@ jobs: | |
fetch-depth: '0' | ||
- name: Test | ||
run: sbt +test | ||
mima: | ||
name: Mima | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- name: Install libuv | ||
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | ||
- name: Setup Scala | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: "8" | ||
check-latest: true | ||
- name: Cache Dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Git Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: '0' | ||
- name: Mima | ||
run: sbt mimaChecks | ||
update-readme: | ||
name: Update README | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import com.typesafe.tools.mima.core.Problem | ||
import com.typesafe.tools.mima.core.ProblemFilters.exclude | ||
import com.typesafe.tools.mima.plugin.MimaKeys.* | ||
import sbt.* | ||
import sbt.Keys.{name, organization} | ||
|
||
object MimaSettings { | ||
lazy val bincompatVersionToCompare = "3.0.0-RC1" | ||
|
||
def mimaSettings(failOnProblem: Boolean) = | ||
Seq( | ||
mimaPreviousArtifacts := Set(organization.value %% name.value % bincompatVersionToCompare), | ||
mimaBinaryIssueFilters ++= Seq( | ||
exclude[Problem]("zio.telemetry.opentelemetry.*") | ||
), | ||
mimaFailOnProblem := failOnProblem | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters