Skip to content

Commit

Permalink
Merge pull request #394 from lloydmeta/release/enumeratum-slick-1.7.6
Browse files Browse the repository at this point in the history
Release/enumeratum slick 1.7.6
  • Loading branch information
lloydmeta authored May 6, 2024
2 parents 5acfec1 + 78ac6dd commit 1fbbd04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
find $HOME/.sbt -name "*.lock" -delete || true
- name: Upload coverage to Codecov
if: ${{ matrix.scala == '2.13.11' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ lazy val enumeratumSlick =
.settings(commonWithPublishSettings)
.settings(testSettings)
.settings(
version := "1.7.6-SNAPSHOT",
version := "1.7.7-SNAPSHOT",
crossScalaVersions := scalaVersionsAll,
libraryDependencies ++= Seq(
("com.typesafe.slick" %% "slick" % "3.5.1"),
Expand Down
2 changes: 2 additions & 0 deletions enumeratum-core/src/main/scala-3/enumeratum/EnumCompat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ private[enumeratum] trait EnumCompat[A <: EnumEntry] { _enum: Enum[A] =>

private[enumeratum] trait EnumCompanion {

// format: off
/** Finds the `Enum` companion object for a particular `EnumEntry`. */
implicit inline def materializeEnum[A <: EnumEntry]: Enum[A] =
${ EnumMacros.materializeEnumImpl[A, Enum[A]] }
// format: on

}

0 comments on commit 1fbbd04

Please sign in to comment.