From 761094ada7252e11ec866b79727956b74255fe92 Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:55:41 -0400 Subject: [PATCH 1/2] ci.sbt: docker compose V2 Needed because of https://github.com/actions/runner-images/issues/9692 --- ci.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci.sbt b/ci.sbt index 25dade92..f8766632 100644 --- a/ci.sbt +++ b/ci.sbt @@ -17,7 +17,7 @@ inThisBuild(List( githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")), githubWorkflowTargetTags ++= Seq("v*"), githubWorkflowBuild := Seq( - WorkflowStep.Run(List("docker-compose up -d mysql postgres"), name = Some("Start databases")), + WorkflowStep.Run(List("docker compose up -d mysql postgres"), name = Some("Start databases")), WorkflowStep.Sbt(List("-Dslick.testkit-config=test-dbs/testkit-github.conf", "test"), name = Some("Build project")) ), githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))), From 1b9b0fd1c80c210dbbefd13d9d40537ac965985e Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:57:08 -0400 Subject: [PATCH 2/2] sbt githubWorkflowGenerate --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 743fac4e..aa49e859 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck - name: Start databases - run: docker-compose up -d mysql postgres + run: docker compose up -d mysql postgres - name: Build project run: sbt '++ ${{ matrix.scala }}' -Dslick.testkit-config=test-dbs/testkit-github.conf test