Skip to content

Commit

Permalink
github-action: timeout the tests job if longer than 30 minutes (#2346)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 7, 2024
1 parent 7cd68d0 commit 368f54b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:

tests:
runs-on: ubuntu-latest

timeout-minutes: 30

steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ env:
jobs:
tests:
runs-on: windows-2022
timeout-minutes: 30

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 368f54b

Please sign in to comment.