Skip to content

Commit eb648d5

Browse files
Added GitHub actions test timeout limit and workflow concurrency
1 parent f5f07eb commit eb648d5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ on:
88
pull_request:
99
branches:
1010
- main
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1114
jobs:
1215
macos_regression:
1316
runs-on: macos-latest
17+
timeout-minutes: 3
1418
strategy:
1519
matrix:
1620
ruby:
@@ -29,6 +33,7 @@ jobs:
2933
run: bundle exec rake
3034
ubuntu_regression:
3135
runs-on: ubuntu-latest
36+
timeout-minutes: 3
3237
strategy:
3338
matrix:
3439
ruby:

0 commit comments

Comments
 (0)