Skip to content

Commit f559467

Browse files
authored
gha: set timeout-minutes on CI jobs (#64)
1 parent 4e274da commit f559467

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CI
22
on: [pull_request]
33
jobs:
44
lint:
5+
timeout-minutes: 2
56
runs-on: ubuntu-latest
67
strategy:
78
matrix:
@@ -18,13 +19,15 @@ jobs:
1819
- name: Run linting
1920
run: uv run sh ./scripts/lint.sh
2021
prek:
22+
timeout-minutes: 5
2123
name: Validate prek
2224
runs-on: ubuntu-24.04
2325
steps:
2426
- uses: actions/checkout@v6.0.3
2527
- uses: astral-sh/setup-uv@v8.2.0
2628
- uses: j178/prek-action@v2
2729
test:
30+
timeout-minutes: 5
2831
runs-on: ubuntu-latest
2932
strategy:
3033
matrix:
@@ -41,6 +44,7 @@ jobs:
4144
- name: Run linting
4245
run: uv run pytest
4346
build:
47+
timeout-minutes: 5
4448
runs-on: ubuntu-latest
4549
needs: [prek, lint, test]
4650
steps:

0 commit comments

Comments
 (0)