Skip to content

Commit ab55aaf

Browse files
committed
Add timeout to workflows
The default timeout is 6 hours, which is unnecessarily long. We should stop tests if it doesn't finish in 10~15 mins to see what happens.
1 parent 73d9a9e commit ab55aaf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/protocol.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
test:
1818

1919
runs-on: ubuntu-latest
20+
timeout-minutes: 10
2021
strategy:
2122
matrix:
2223
ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug']

.github/workflows/ruby.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
test:
1818

1919
runs-on: ubuntu-latest
20+
timeout-minutes: 15
2021
strategy:
2122
matrix:
2223
ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug']

0 commit comments

Comments
 (0)