]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Time out jobs after 30 minutes
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 4 Aug 2023 06:32:56 +0000 (08:32 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 5 Aug 2023 06:20:11 +0000 (08:20 +0200)
The default is 360 minutes.

.github/workflows/build.yaml

index 4cd2791db508a302a128f2b2b13ad040802be6b8..daed99916c29c947e43b2b8e0af473794b8a82cf 100644 (file)
@@ -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: