diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed92595..98b44db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: test: name: Test runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v7 - if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' @@ -30,6 +31,7 @@ jobs: test-msrv: name: Test MSRV runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v7 - if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' @@ -52,6 +54,7 @@ jobs: name: Code Coverage if: github.event_name != 'release' runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v7 - uses: Swatinem/rust-cache@v2 @@ -70,6 +73,7 @@ jobs: needs: [ test, test-msrv ] if: always() runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Result of the needed steps run: echo "${{ toJSON(needs) }}" @@ -86,6 +90,7 @@ jobs: && github.ref == 'refs/heads/main' && github.repository_owner == 'georust' runs-on: ubuntu-latest + timeout-minutes: 15 permissions: contents: write id-token: write diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index b618dd0..bc53307 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -4,6 +4,7 @@ on: pull_request jobs: dependabot: runs-on: ubuntu-latest + timeout-minutes: 15 if: github.actor == 'dependabot[bot]' permissions: contents: write