From 409dc5fbe208f5f537b9c888cec2eb8b4a5e68f3 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 31 Aug 2024 18:38:50 +0200 Subject: [PATCH] Reduce the GitHub Actions job timeout from 60 to 30 minutes The only jobs that take over 30 minutes are usually only the ones that got stuck. This ensures that stuck jobs don't hog the entire CI for too long. Signed-off-by: Haru --- .github/workflows/build.yml | 2 +- .github/workflows/clang15_test.yml | 2 +- .github/workflows/gcc_test.yml | 2 +- .github/workflows/gccold1.yml | 2 +- .github/workflows/gccold2.yml | 2 +- .github/workflows/gccold3.yml | 2 +- .github/workflows/gccsnapshot_test.yml | 2 +- .github/workflows/macos_latest.yml | 2 +- .github/workflows/macos_m1.yml | 2 +- .github/workflows/mariadb.yml | 2 +- .github/workflows/mysql.yml | 2 +- .github/workflows/windows.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c20eda642be..f19ae6b80d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: # gcc, clang-8, clang-9 removed for reduce number of jobs diff --git a/.github/workflows/clang15_test.yml b/.github/workflows/clang15_test.yml index dd0bca158b1..8076fdcc81c 100644 --- a/.github/workflows/clang15_test.yml +++ b/.github/workflows/clang15_test.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [clang-15] diff --git a/.github/workflows/gcc_test.yml b/.github/workflows/gcc_test.yml index 5dd7f208d65..99b75637ed4 100644 --- a/.github/workflows/gcc_test.yml +++ b/.github/workflows/gcc_test.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [gcc] diff --git a/.github/workflows/gccold1.yml b/.github/workflows/gccold1.yml index cd22d8f1012..495666e666c 100644 --- a/.github/workflows/gccold1.yml +++ b/.github/workflows/gccold1.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: ["gcc-10", "gcc-9"] diff --git a/.github/workflows/gccold2.yml b/.github/workflows/gccold2.yml index fc9816ffb04..7f9c5840a2e 100644 --- a/.github/workflows/gccold2.yml +++ b/.github/workflows/gccold2.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: ["gcc-8", "gcc-7"] diff --git a/.github/workflows/gccold3.yml b/.github/workflows/gccold3.yml index 37176209ad3..2dbf32d70d9 100644 --- a/.github/workflows/gccold3.yml +++ b/.github/workflows/gccold3.yml @@ -13,7 +13,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: ["gcc-6", "gcc-5", "gcc-4.8"] diff --git a/.github/workflows/gccsnapshot_test.yml b/.github/workflows/gccsnapshot_test.yml index 721d93ff31a..f2631a03f0f 100644 --- a/.github/workflows/gccsnapshot_test.yml +++ b/.github/workflows/gccsnapshot_test.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [gcc] diff --git a/.github/workflows/macos_latest.yml b/.github/workflows/macos_latest.yml index e5deb6dfadc..394c5697886 100644 --- a/.github/workflows/macos_latest.yml +++ b/.github/workflows/macos_latest.yml @@ -13,7 +13,7 @@ env: jobs: build: runs-on: macos-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [clang] diff --git a/.github/workflows/macos_m1.yml b/.github/workflows/macos_m1.yml index 20c889ae6e6..7874a2e5c23 100644 --- a/.github/workflows/macos_m1.yml +++ b/.github/workflows/macos_m1.yml @@ -13,7 +13,7 @@ env: jobs: build: runs-on: macos-14 - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [clang] diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 86abf1bde3d..14e8ce739d1 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [gcc] diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index ed10c8427fe..3342cf35361 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [gcc] diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7669990bf90..391cf307217 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,7 +11,7 @@ env: jobs: build: runs-on: windows-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: CC: [msbuild]