Skip to content

Commit

Permalink
Reduce the GitHub Actions job timeout from 60 to 30 minutes
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MishimaHaruna committed Aug 31, 2024
1 parent 71eeb07 commit 409dc5f
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang15_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [clang-15]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcc_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: ["gcc-10", "gcc-9"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: ["gcc-8", "gcc-7"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccsnapshot_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
jobs:
build:
runs-on: macos-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [clang]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
jobs:
build:
runs-on: macos-14
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [clang]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
build:
runs-on: windows-latest
timeout-minutes: 60
timeout-minutes: 30
strategy:
matrix:
CC: [msbuild]
Expand Down

0 comments on commit 409dc5f

Please sign in to comment.