mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 03:54:21 +01:00
github: Add 30 minute timeout to all jobs
We're getting hit by macOS runner concurrency limits whenever some jobs get stuck (for example, because of a deadlock).
This commit is contained in:
7
.github/workflows/python.yml
vendored
7
.github/workflows/python.yml
vendored
@@ -17,6 +17,7 @@ env:
|
||||
jobs:
|
||||
configure-strategy:
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 30
|
||||
outputs:
|
||||
python-versions: ${{ steps.gen-matrix.outputs.python-versions }}
|
||||
steps:
|
||||
@@ -26,6 +27,7 @@ jobs:
|
||||
|
||||
test:
|
||||
needs: configure-strategy
|
||||
timeout-minutes: 30
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
@@ -64,6 +66,7 @@ jobs:
|
||||
|
||||
lint:
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -85,6 +88,7 @@ jobs:
|
||||
|
||||
linux:
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{ env.working-directory }}
|
||||
@@ -112,6 +116,7 @@ jobs:
|
||||
|
||||
macos-arm64:
|
||||
runs-on: macos-14
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{ env.working-directory }}
|
||||
@@ -141,6 +146,7 @@ jobs:
|
||||
|
||||
sdist:
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{ env.working-directory }}
|
||||
@@ -161,6 +167,7 @@ jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 30
|
||||
if: "startsWith(github.ref, 'refs/tags/')"
|
||||
needs: [linux, macos-arm64, sdist]
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user