Skip to content

Commit faaaaad

Browse files
authored
Merge pull request #346 from SwissBorg/update/dependencies
Update dependencies
2 parents 0502fb6 + a407f0c commit faaaaad

File tree

13 files changed

+55
-53
lines changed

13 files changed

+55
-53
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: Setup Scala and Java
12-
uses: olafurpg/setup-scala@v13
12+
uses: coursier/setup-action@v1
1313
with:
1414
java-version: [email protected]
1515
- uses: olafurpg/setup-gpg@v3

.github/workflows/scala.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up java
19-
uses: olafurpg/setup-scala@v13
18+
- name: Setup Scala and Java
19+
uses: coursier/setup-action@v1
2020
with:
2121
java-version: ${{matrix.java}}
2222
- name: Start Postgres

core/src/main/scala/akka/persistence/postgres/db/ExtendedPostgresProfile.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ trait ExtendedPostgresProfile
3737
with SearchImplicits
3838
with SearchAssistants
3939
with JsonImplicits {
40-
implicit val strListTypeMapper = new SimpleArrayJdbcType[String]("text").to(_.toList)
40+
implicit val strListTypeMapper: DriverJdbcType[List[String]] = new SimpleArrayJdbcType[String]("text").to(_.toList)
4141
}
4242
object MyAPI extends MyAPI
4343
}

core/src/test/scala/akka/persistence/postgres/SharedActorSystemTestSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class SharedActorSystemTestSpec(val config: Config) extends SimpleSpec
3030

3131
implicit lazy val ec: ExecutionContext = system.dispatcher
3232
implicit val pc: PatienceConfig = PatienceConfig(timeout = 1.minute)
33-
implicit val timeout = Timeout(1.minute)
33+
implicit val timeout: Timeout = Timeout(1.minute)
3434

3535
lazy val serialization = SerializationExtension(system)
3636

core/src/test/scala/akka/persistence/postgres/journal/PostgresJournalPerfSpec.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ package akka.persistence.postgres.journal
88
import akka.actor.Props
99
import akka.persistence.CapabilityFlag
1010
import akka.persistence.journal.JournalPerfSpec
11-
import akka.persistence.journal.JournalPerfSpec.{ BenchActor, Cmd, ResetCounter }
11+
import akka.persistence.journal.JournalPerfSpec.{BenchActor, Cmd, ResetCounter}
1212
import akka.persistence.postgres.config._
1313
import akka.persistence.postgres.db.SlickExtension
1414
import akka.persistence.postgres.util.Schema._
15-
import akka.persistence.postgres.util.{ ClasspathResources, DropCreate }
15+
import akka.persistence.postgres.util.{ClasspathResources, DropCreate}
1616
import akka.testkit.TestProbe
1717
import com.typesafe.config.ConfigFactory
1818
import org.scalatest.concurrent.ScalaFutures
19-
import org.scalatest.{ BeforeAndAfterAll, BeforeAndAfterEach }
19+
import org.scalatest.{BeforeAndAfterAll, BeforeAndAfterEach}
2020

21+
import scala.concurrent.ExecutionContextExecutor
2122
import scala.concurrent.duration._
2223

2324
abstract class PostgresJournalPerfSpec(config: String, schemaType: SchemaType)
@@ -29,7 +30,7 @@ abstract class PostgresJournalPerfSpec(config: String, schemaType: SchemaType)
2930
with DropCreate {
3031
override protected def supportsRejectingNonSerializableObjects: CapabilityFlag = true
3132

32-
implicit lazy val ec = system.dispatcher
33+
implicit lazy val ec: ExecutionContextExecutor = system.dispatcher
3334

3435
implicit def pc: PatienceConfig = PatienceConfig(timeout = 10.minutes)
3536

core/src/test/scala/akka/persistence/postgres/query/HardDeleteQueryTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import scala.concurrent.duration._
1515
abstract class HardDeleteQueryTest(val schemaType: SchemaType)
1616
extends QueryTestSpec(s"${schemaType.resourceNamePrefix}-application-with-hard-delete.conf")
1717
with Matchers {
18-
implicit val askTimeout = 500.millis
18+
implicit val askTimeout: FiniteDuration = 500.millis
1919

2020
it should "not return deleted events when using CurrentEventsByTag" in withActorSystem { implicit system =>
2121
val journalOps = new ScalaPostgresReadJournalOperations(system)

core/src/test/scala/akka/persistence/postgres/query/JournalDaoStreamMessagesMemoryTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ abstract class JournalDaoStreamMessagesMemoryTest(val schemaType: SchemaType)
4747
val journalSequenceActorConfig = readJournalConfig.journalSequenceRetrievalConfiguration
4848
val journalTableCfg = journalConfig.journalTableConfiguration
4949

50-
implicit val askTimeout = 50.millis
50+
implicit val askTimeout: FiniteDuration = 50.millis
5151

5252
def generateId: Int = 0
5353

core/src/test/scala/akka/persistence/postgres/query/LogicalDeleteQueryTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import akka.persistence.query.{ EventEnvelope, NoOffset, Sequence }
1212
import scala.concurrent.duration._
1313

1414
abstract class LogicalDeleteQueryTest(val schemaType: SchemaType) extends QueryTestSpec(schemaType.configName) {
15-
implicit val askTimeout = 500.millis
15+
implicit val askTimeout: FiniteDuration = 500.millis
1616

1717
it should "return logically deleted events when using CurrentEventsByTag (backward compatibility)" in withActorSystem {
1818
implicit system =>

core/src/test/scala/akka/persistence/postgres/query/dao/TestProbeReadJournalDao.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ object TestProbeReadJournalDao {
2727
*/
2828
class TestProbeReadJournalDao(val probe: TestProbe) extends ReadJournalDao {
2929
// Since the testprobe is instrumented by the test, it should respond very fast
30-
implicit val askTimeout = Timeout(100.millis)
30+
implicit val askTimeout: Timeout = Timeout(100.millis)
3131

3232
/**
3333
* Returns distinct stream of persistenceIds

core/src/test/scala/akka/persistence/postgres/snapshot/PostgresSnapshotStoreSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ package akka.persistence.postgres.snapshot
88
import akka.persistence.postgres.config._
99
import akka.persistence.postgres.db.SlickDatabase
1010
import akka.persistence.postgres.util.Schema._
11-
import akka.persistence.postgres.util.{ ClasspathResources, DropCreate }
11+
import akka.persistence.postgres.util.{ClasspathResources, DropCreate}
1212
import akka.persistence.snapshot.SnapshotStoreSpec
1313
import com.typesafe.config.ConfigFactory
1414
import org.scalatest.BeforeAndAfterAll
1515
import org.scalatest.concurrent.ScalaFutures
1616

17+
import scala.concurrent.ExecutionContextExecutor
1718
import scala.concurrent.duration._
1819

1920
abstract class PostgresSnapshotStoreSpec(schemaType: SchemaType)
@@ -24,7 +25,7 @@ abstract class PostgresSnapshotStoreSpec(schemaType: SchemaType)
2425
with DropCreate {
2526
implicit val pc: PatienceConfig = PatienceConfig(timeout = 10.seconds)
2627

27-
implicit lazy val ec = system.dispatcher
28+
implicit lazy val ec: ExecutionContextExecutor = system.dispatcher
2829

2930
lazy val cfg = system.settings.config.getConfig("postgres-journal")
3031

0 commit comments

Comments
 (0)