diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6cc7d66f..2e55da8a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -86,6 +87,7 @@ jobs: - msrv - nightly runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 - name: Install Rust @@ -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 @@ -116,6 +119,7 @@ jobs: permissions: contents: write pull-requests: write + timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 - name: Install Rust @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -221,6 +232,7 @@ jobs: shellcheck: runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 - name: Install shellcheck diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afb76585a..501d20a72 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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