diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fea849517..c5dd3641ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: scala: [2.12.18, 2.13.10, 3.3.0] java: [graal_21.1.0@11, temurin@8] runs-on: ${{ matrix.os }} + timeout-minutes: 60 + steps: - name: Checkout current branch (full) uses: actions/checkout@v3 diff --git a/build.sbt b/build.sbt index 688e306a48..fdb1da7f33 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,7 @@ import BuildHelper._ import Dependencies._ import sbt.librarymanagement.ScalaArtifacts.isScala3 +import scala.concurrent.duration._ val releaseDrafterVersion = "5" @@ -100,6 +101,8 @@ inThisBuild( ), ) +ThisBuild / githubWorkflowBuildTimeout := Some(60.minutes) + lazy val root = (project in file(".")) .settings(stdSettings("zio-http-root")) .settings(publishSetting(false))