From ab9535edf90cc01636ccab3bf462596bee45cb49 Mon Sep 17 00:00:00 2001 From: Sam Guymer Date: Sat, 11 Jul 2026 13:46:35 +1000 Subject: [PATCH 1/2] Ignore mima for deleted private class --- build.sbt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 9defa21..97f429f 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,10 @@ -// format: off - +import com.typesafe.tools.mima.core.MissingClassProblem +import com.typesafe.tools.mima.core.ProblemFilters import sbt.util.CacheImplicits.given import xsbti.HashedVirtualFileRef +// format: off + val catsVersion = "2.13.0" val fs2Version = "3.13.0" val zioVersion = "2.1.19" @@ -134,6 +136,11 @@ lazy val core = module("core") ) case _ => Seq.empty }), + mimaBinaryIssueFilters ++= Seq( + // was private + ProblemFilters.exclude[MissingClassProblem]("ceesvee.CsvParser$Slice"), + ProblemFilters.exclude[MissingClassProblem]("ceesvee.CsvParser$Slice$"), + ), ) lazy val fs2 = module("fs2") @@ -182,11 +189,11 @@ ThisBuild / testDataResources := Def.cachedTask { val s = streams.value val dir = (ThisBuild / testDataResourceDirectory).value - val files = TestFiles.Csv.toSeq.map { case (f, (url, hash)) => + val files = TestFiles.Csv.toSeq.map { case (f, (url, hash)) => val file = dir / "csv" / f TestFiles.download(s.log, file, url, hash) file - } ++ TestFiles.Tsv.map { case (f, (url, hash)) => + } ++ TestFiles.Tsv.map { case (f, (url, hash)) => val file = dir / "tsv" / f TestFiles.download(s.log, file, url, hash) file From 33c0ac50fb1c269fe5ff0fec7d20e32b60e62cfc Mon Sep 17 00:00:00 2001 From: Sam Guymer Date: Sat, 11 Jul 2026 13:58:30 +1000 Subject: [PATCH 2/2] sdsd --- .github/workflows/ci.yml | 6 ++---- .github/workflows/release.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d38ff1a..0728699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,15 +23,13 @@ jobs: uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0 with: distribution: zulu - java-version: '21' + java-version: 21 java-package: jdk + cache: sbt - name: Install SBT uses: sbt/setup-sbt@66fb4376e81982c7d92a4074170846fff88e2e30 # v1.5.0 - - name: Cache SBT - uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1 - - name: Lint run: sbt --client "++${{ matrix.scala }} scalafmtCheckAll" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c48ae3a..3cd0d3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,15 +15,13 @@ jobs: uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0 with: distribution: zulu - java-version: '21' + java-version: 21 java-package: jdk + cache: sbt - name: Install SBT uses: sbt/setup-sbt@66fb4376e81982c7d92a4074170846fff88e2e30 # v1.5.0 - - name: Cache SBT - uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1 - - name: Release run: sbt ci-release env: