Skip to content

Commit

Permalink
Merge pull request #191 from benthecarman/timeout-ci
Browse files Browse the repository at this point in the history
Timeout CI jobs after 30 mins
  • Loading branch information
Tibo-lg authored Dec 19, 2023
2 parents 0b15c7f + 8c81739 commit f9a4553
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: install clippy
Expand All @@ -15,6 +16,7 @@ jobs:
no-std:
name: no-std lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: install clippy
Expand All @@ -28,6 +30,7 @@ jobs:
unit-tests:
name: unit-tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Build
Expand All @@ -37,6 +40,7 @@ jobs:

integration_tests_prepare:
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -53,6 +57,7 @@ jobs:
name: integration-tests
needs: integration_tests_prepare
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
tests: ${{ fromJson(needs.integration_tests_prepare.outputs.matrix) }}
Expand Down

0 comments on commit f9a4553

Please sign in to comment.