Skip to content

Commit 28ac816

Browse files
authored
github-actions: declare timeout for job execution
1 parent 48ec184 commit 28ac816

File tree

7 files changed

+15
-1
lines changed

7 files changed

+15
-1
lines changed

.github/workflows/backward-compatibility.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
name: "Backward Compatibility"
1717

1818
runs-on: "ubuntu-latest"
19+
timeout-minutes: 30
1920

2021
steps:
2122
- name: "Checkout"

.github/workflows/compiler-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
name: "Compiler Tests"
1717

1818
runs-on: "ubuntu-latest"
19+
timeout-minutes: 30
1920

2021
steps:
2122
- name: "Checkout"

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
name: "Result cache E2E tests"
1717

1818
runs-on: ${{ matrix.operating-system }}
19+
timeout-minutes: 30
1920

2021
strategy:
2122
fail-fast: false
@@ -46,6 +47,7 @@ jobs:
4647
e2e-tests:
4748
name: "E2E tests"
4849
runs-on: "ubuntu-latest"
50+
timeout-minutes: 30
4951

5052
strategy:
5153
matrix:

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
lint:
1616
name: "Lint"
1717
runs-on: "ubuntu-latest"
18+
timeout-minutes: 30
1819

1920
strategy:
2021
fail-fast: false
@@ -53,6 +54,7 @@ jobs:
5354
name: "Coding Standard"
5455

5556
runs-on: "ubuntu-latest"
57+
timeout-minutes: 30
5658

5759
strategy:
5860
matrix:
@@ -85,6 +87,7 @@ jobs:
8587
name: "Dependency Analysis"
8688

8789
runs-on: "ubuntu-latest"
90+
timeout-minutes: 30
8891

8992
strategy:
9093
matrix:

.github/workflows/phar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
compile:
1414
name: "Compile PHAR"
1515
runs-on: "ubuntu-latest"
16+
timeout-minutes: 30
1617

1718
steps:
1819
- name: "Checkout"

.github/workflows/static-analysis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
static-analysis:
1616
name: "PHPStan"
1717
runs-on: ${{ matrix.operating-system }}
18+
timeout-minutes: 30
1819

1920
strategy:
2021
fail-fast: false
@@ -59,7 +60,8 @@ jobs:
5960
static-analysis-with-result-cache:
6061
name: "PHPStan with result cache"
6162

62-
runs-on: ubuntu-latest
63+
runs-on: "ubuntu-latest"
64+
timeout-minutes: 30
6365

6466
strategy:
6567
matrix:
@@ -105,6 +107,7 @@ jobs:
105107
name: "Generate baseline"
106108

107109
runs-on: "ubuntu-latest"
110+
timeout-minutes: 30
108111

109112
strategy:
110113
matrix:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
tests:
1616
name: "Tests"
1717
runs-on: ${{ matrix.operating-system }}
18+
timeout-minutes: 30
1819

1920
strategy:
2021
fail-fast: false
@@ -55,6 +56,7 @@ jobs:
5556
tests-old-phpunit:
5657
name: "Tests with old PHPUnit"
5758
runs-on: ${{ matrix.operating-system }}
59+
timeout-minutes: 30
5860

5961
strategy:
6062
fail-fast: false
@@ -97,6 +99,7 @@ jobs:
9799
name: "Tests with code coverage"
98100

99101
runs-on: "ubuntu-latest"
102+
timeout-minutes: 30
100103

101104
steps:
102105
- name: "Checkout"

0 commit comments

Comments
 (0)