From a9a30201490b514fcee91353b9699b32a4e8ac3e Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 17 Jun 2026 14:46:15 -0700 Subject: [PATCH] gha: set timeout-minutes on CI jobs --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39f3c7b..fd35a73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI on: [pull_request] jobs: lint: + timeout-minutes: 2 runs-on: ubuntu-latest strategy: matrix: @@ -18,6 +19,7 @@ jobs: - name: Run linting run: uv run sh ./scripts/lint.sh prek: + timeout-minutes: 5 name: Validate prek runs-on: ubuntu-24.04 steps: @@ -25,6 +27,7 @@ jobs: - uses: astral-sh/setup-uv@v8.2.0 - uses: j178/prek-action@v2 test: + timeout-minutes: 5 runs-on: ubuntu-latest strategy: matrix: @@ -41,6 +44,7 @@ jobs: - name: Run linting run: uv run pytest build: + timeout-minutes: 5 runs-on: ubuntu-latest needs: [prek, lint, test] steps: