Skip to content

Commit

Permalink
add timeouts to CI jobs (#94)
Browse files Browse the repository at this point in the history
kings177 authored Mar 20, 2024
1 parent 09a3791 commit 030ff10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
@@ -25,6 +26,7 @@ jobs:
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features _fuzz
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
@@ -39,6 +41,7 @@ jobs:
- run: cargo test --release --features _fuzz --test fuzz
fmt:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
@@ -47,6 +50,7 @@ jobs:
- run: cargo fmt --check
bench:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: dsherret/rust-toolchain-file@v1
@@ -60,6 +64,7 @@ jobs:
- run: cargo bench
cspell:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v5

0 comments on commit 030ff10

Please sign in to comment.