diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-12-09 03:50:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 03:50:49 -0500 |
commit | d8da12ffabf849d4080370f3cf00d376a0a71ab9 (patch) | |
tree | 4d77eeabfd9db7a97f2599de5fde92133b69c414 /.github/workflows | |
parent | 07fd2152f41d1a65d9262691bbe896f8d84dabca (diff) |
ci: add a timeout for builds and CI (#930)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build_releases.yml | 1 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 8f74782e..df2e1b68 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -31,6 +31,7 @@ jobs: name: "Build binaries" runs-on: ${{ matrix.info.os }} container: ${{ matrix.info.container }} + timeout-minutes: 30 strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd3d54a..1912d380 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,7 @@ jobs: needs: pre-job runs-on: ${{ matrix.info.os }} if: ${{ needs.pre-job.outputs.should_skip != 'true' }} + timeout-minutes: 30 strategy: fail-fast: false matrix: @@ -133,6 +134,7 @@ jobs: runs-on: ${{ matrix.info.os }} if: ${{ needs.pre-job.outputs.should_skip != 'true' }} continue-on-error: true + timeout-minutes: 30 strategy: fail-fast: false matrix: |