Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Add timeouts to github actions (#547)
Browse files Browse the repository at this point in the history
Co-authored-by: abanteai-butler[bot] <160964065+abanteai-butler[bot]@users.noreply.github.com>
  • Loading branch information
biobootloader and mentatbot[bot] authored Mar 23, 2024
1 parent f0edb8d commit 480063a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: install reqs
Expand All @@ -27,6 +28,8 @@ jobs:

build:
runs-on: ${{ matrix.os }}
# Set timeout to 20 minutes for Windows due to longer build times, otherwise 10 minutes
timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}

strategy:
fail-fast: false
Expand Down Expand Up @@ -73,6 +76,7 @@ jobs:
license-check:
runs-on: ubuntu-latest
timeout-minutes: 5

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

0 comments on commit 480063a

Please sign in to comment.