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 19, 2024
1 parent 1dc72c8 commit 3045680
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 @@ -61,6 +61,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 @@ -83,6 +84,7 @@ jobs:
- msrv
- nightly
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -96,6 +98,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 @@ -113,6 +116,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 @@ -146,6 +150,7 @@ jobs:
# Check formatting.
rustfmt:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
Expand All @@ -158,6 +163,7 @@ jobs:
# # Check clippy.
# clippy:
# runs-on: ubuntu-latest
# timeout-minutes: 60
# steps:
# - uses: taiki-e/checkout-action@v1
# - name: Install Rust
Expand All @@ -168,6 +174,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 @@ -178,6 +185,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 3045680

Please sign in to comment.