diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30cec6d3..4d07b1a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: name: Build and Test strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-20.04] scala: [2.13.15, 3.3.3] java: [temurin@17] runs-on: ${{ matrix.os }} diff --git a/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/KebsPlayJsonEnums.scala b/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/KebsPlayJsonEnums.scala index 2e87d19e..6263f9b4 100644 --- a/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/KebsPlayJsonEnums.scala +++ b/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/KebsPlayJsonEnums.scala @@ -34,7 +34,7 @@ trait KebsPlayJsonEnums { implicit def enumEncoderImpl[E](implicit ev: EnumLike[E]): Writes[E] = enumEncoder(ev) - trait KebsCirceEnumsUppercase { + trait KebsPlayJsonEnumsUppercase { implicit def enumDecoderImpl[E](implicit ev: EnumLike[E]): Reads[E] = uppercaseEnumDecoder(ev) @@ -42,7 +42,7 @@ trait KebsPlayJsonEnums { uppercaseEnumEncoder(ev) } - trait KebsCirceEnumsLowercase { + trait KebsPlayJsonEnumsLowercase { implicit def enumDecoderImpl[E](implicit ev: EnumLike[E]): Reads[E] = lowercaseEnumDecoder(ev) diff --git a/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/enums.scala b/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/enums.scala index fb5b909e..8cfae5cd 100644 --- a/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/enums.scala +++ b/play-json/src/main/scala/pl/iterators/kebs/playjson/enums/enums.scala @@ -1,6 +1,6 @@ package pl.iterators.kebs.playjson package object enums extends KebsPlayJsonEnums with KebsPlayJsonValueEnums { - object uppercase extends KebsCirceEnumsUppercase with KebsPlayJsonValueEnums - object lowercase extends KebsCirceEnumsLowercase with KebsPlayJsonValueEnums + object uppercase extends KebsPlayJsonEnumsUppercase with KebsPlayJsonValueEnums + object lowercase extends KebsPlayJsonEnumsLowercase with KebsPlayJsonValueEnums }