Skip to content

Commit

Permalink
ci: Set timeout-minutes in all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 2, 2024
1 parent c154201 commit 56f90ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
os: ubuntu-latest
target: armv5te-unknown-linux-gnueabi
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -86,6 +87,7 @@ jobs:
- msrv
- nightly
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -99,6 +101,7 @@ jobs:
# Check for duplicate dependencies.
dependencies:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -116,6 +119,7 @@ jobs:
permissions:
contents: write
pull-requests: write
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand Down Expand Up @@ -149,6 +153,7 @@ jobs:
# Check formatting.
rustfmt:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -159,6 +164,7 @@ jobs:
# Check clippy.
clippy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -169,6 +175,7 @@ jobs:
# Run miri.
miri:
runs-on: ubuntu-latest
timeout-minutes: 120 # TODO
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -179,6 +186,7 @@ jobs:
# Run cargo-careful.
careful:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -190,6 +198,7 @@ jobs:
# Run sanitizers.
san:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -202,6 +211,7 @@ jobs:
# Run loom tests.
loom:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -212,6 +222,7 @@ jobs:
# Check if the document can be generated without warning.
docs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -221,6 +232,7 @@ jobs:

shellcheck:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install shellcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
create-release:
if: github.repository_owner == 'crossbeam-rs'
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/create-gh-release-action@v1
Expand Down

0 comments on commit 56f90ca

Please sign in to comment.