Skip to content

Commit

Permalink
Add Timeout (#2335)
Browse files Browse the repository at this point in the history
* add timeout

* sbt github actions
  • Loading branch information
adamgfraser authored Jul 28, 2023
1 parent 18b9a96 commit 2ef18c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import BuildHelper._
import Dependencies._
import sbt.librarymanagement.ScalaArtifacts.isScala3
import scala.concurrent.duration._

val releaseDrafterVersion = "5"

Expand Down Expand Up @@ -100,6 +101,8 @@ inThisBuild(
),
)

ThisBuild / githubWorkflowBuildTimeout := Some(60.minutes)

lazy val root = (project in file("."))
.settings(stdSettings("zio-http-root"))
.settings(publishSetting(false))
Expand Down

0 comments on commit 2ef18c4

Please sign in to comment.