From 413d48c35dcb881049bf7b3d4819c9c7010d2acb Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 4 Aug 2023 08:32:56 +0200 Subject: [PATCH] ci: Time out jobs after 30 minutes The default is 360 minutes. --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4cd2791db..daed99916 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,6 +16,7 @@ permissions: jobs: build_and_test: + timeout-minutes: 30 env: CMAKE_GENERATOR: Ninja @@ -152,6 +153,7 @@ jobs: path: testdir.tar.xz build_and_test_msys: + timeout-minutes: 30 runs-on: windows-latest strategy: fail-fast: false @@ -221,6 +223,7 @@ jobs: path: testdir.tar.xz build_macos_universal: + timeout-minutes: 30 name: macOS universal binary runs-on: macos-12 env: @@ -510,6 +513,7 @@ jobs: path: testdir.tar.xz check_format: + timeout-minutes: 30 name: Code formatting runs-on: ubuntu-20.04 strategy: @@ -522,6 +526,7 @@ jobs: run: misc/format-files --all --check codespell: + timeout-minutes: 30 name: Spelling runs-on: ubuntu-20.04 strategy: -- 2.47.2