diff --git a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala index 7a2fc19d..08b34e4f 100644 --- a/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala +++ b/modules/search-provision/src/main/scala/io/renku/search/provision/reindex/ReIndexDocument.scala @@ -25,7 +25,7 @@ private object ReIndexDocument: given Encoder[ReIndexDocument] = MapBasedCodecs.deriveEncoder given Decoder[ReIndexDocument] = MapBasedCodecs.deriveDecoder - def lockDocument[F[_]: Sync: Clock]( + def lockDocument[F[_]: Sync]( messageId: Option[MessageId] ): LockDocument[F, ReIndexDocument] = LockDocument.whenExists(id => diff --git a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala index df7aec21..098b8b6b 100644 --- a/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala +++ b/modules/search-provision/src/test/scala/io/renku/search/provision/group/GroupAddedProvisioningSpec.scala @@ -7,7 +7,7 @@ import io.renku.events.EventsGenerators import io.renku.search.GeneratorSyntax.* import io.renku.search.events.{GroupAdded, GroupUpdated} import io.renku.search.model.ModelGenerators -import io.renku.search.model.{Id, Name, Namespace} +import io.renku.search.model.{Name, Namespace} import io.renku.search.provision.ProvisioningSuite import io.renku.search.provision.events.syntax.* import io.renku.search.solr.documents.{Group as GroupDocument, *} diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 37b6044e..d4247ef1 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -19,7 +19,7 @@ object Dependencies { val http4sPrometheusMetrics = "0.24.6" val redis4Cats = "1.7.2" val sbtMdoc = "2.5.2" - val scala = "3.5.2" + val scala = "3.6.2" val scalacheckEffectMunit = "2.0.0-M2" val scodec = "2.2.2" val scodecBits = "1.2.1"