Skip to content

Commit

Permalink
github-actions: declare timeout for job execution
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jul 30, 2021
1 parent 48ec184 commit 28ac816
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/backward-compatibility.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
name: "Backward Compatibility"

runs-on: "ubuntu-latest"
timeout-minutes: 30

steps:
- name: "Checkout"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compiler-tests.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
name: "Compiler Tests"

runs-on: "ubuntu-latest"
timeout-minutes: 30

steps:
- name: "Checkout"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e-tests.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
name: "Result cache E2E tests"

runs-on: ${{ matrix.operating-system }}
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
e2e-tests:
name: "E2E tests"
runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
lint:
name: "Lint"
runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:
name: "Coding Standard"

runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
matrix:
Expand Down Expand Up @@ -85,6 +87,7 @@ jobs:
name: "Dependency Analysis"

runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/phar.yml
Expand Up @@ -13,6 +13,7 @@ jobs:
compile:
name: "Compile PHAR"
runs-on: "ubuntu-latest"
timeout-minutes: 30

steps:
- name: "Checkout"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/static-analysis.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
static-analysis:
name: "PHPStan"
runs-on: ${{ matrix.operating-system }}
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -59,7 +60,8 @@ jobs:
static-analysis-with-result-cache:
name: "PHPStan with result cache"

runs-on: ubuntu-latest
runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
matrix:
Expand Down Expand Up @@ -105,6 +107,7 @@ jobs:
name: "Generate baseline"

runs-on: "ubuntu-latest"
timeout-minutes: 30

strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
tests:
name: "Tests"
runs-on: ${{ matrix.operating-system }}
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
tests-old-phpunit:
name: "Tests with old PHPUnit"
runs-on: ${{ matrix.operating-system }}
timeout-minutes: 30

strategy:
fail-fast: false
Expand Down Expand Up @@ -97,6 +99,7 @@ jobs:
name: "Tests with code coverage"

runs-on: "ubuntu-latest"
timeout-minutes: 30

steps:
- name: "Checkout"
Expand Down

0 comments on commit 28ac816

Please sign in to comment.