Skip to content

Commit 78afe46

Browse files
committed
ci: add timeout for PHP setup
Currently it sometimes deadlocks and then loads forever. Should be safe to apply 5 minutes limit. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent fb1dc43 commit 78afe46

29 files changed

+34
-0
lines changed

.github/workflows/autocheckers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959

6060
- name: Set up php ${{ matrix.php-versions }}
6161
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
62+
timeout-minutes: 5
6263
with:
6364
php-version: ${{ matrix.php-versions }}
6465
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
@@ -88,6 +89,7 @@ jobs:
8889

8990
- name: Set up php ${{ matrix.php-versions }}
9091
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
92+
timeout-minutes: 5
9193
with:
9294
php-version: ${{ matrix.php-versions }}
9395
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite

.github/workflows/files-external-ftp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
7373
- name: Set up php ${{ matrix.php-versions }}
7474
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
75+
timeout-minutes: 5
7576
with:
7677
php-version: ${{ matrix.php-versions }}
7778
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/files-external-s3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171

7272
- name: Set up php ${{ matrix.php-versions }}
7373
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
74+
timeout-minutes: 5
7475
with:
7576
php-version: ${{ matrix.php-versions }}
7677
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -159,6 +160,7 @@ jobs:
159160

160161
- name: Set up php ${{ matrix.php-versions }}
161162
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
163+
timeout-minutes: 5
162164
with:
163165
php-version: ${{ matrix.php-versions }}
164166
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/files-external-sftp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
6969
- name: Set up php ${{ matrix.php-versions }}
7070
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
71+
timeout-minutes: 5
7172
with:
7273
php-version: ${{ matrix.php-versions }}
7374
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/files-external-smb.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272

7373
- name: Set up php ${{ matrix.php-versions }}
7474
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
75+
timeout-minutes: 5
7576
with:
7677
php-version: ${{ matrix.php-versions }}
7778
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/files-external-webdav.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767

6868
- name: Set up php ${{ matrix.php-versions }}
6969
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
70+
timeout-minutes: 5
7071
with:
7172
php-version: ${{ matrix.php-versions }}
7273
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/files-external.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060

6161
- name: Set up php ${{ matrix.php-versions }}
6262
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
63+
timeout-minutes: 5
6364
with:
6465
php-version: ${{ matrix.php-versions }}
6566
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/generate-release-changelog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
7575
- name: Set up php 8.2
7676
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
77+
timeout-minutes: 5
7778
with:
7879
php-version: 8.2
7980
coverage: none

.github/workflows/integration-dav.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060

6161
- name: Set up php ${{ matrix.php-versions }}
6262
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
63+
timeout-minutes: 5
6364
with:
6465
php-version: ${{ matrix.php-versions }}
6566
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

.github/workflows/integration-litmus.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959

6060
- name: Set up php ${{ matrix.php-versions }}
6161
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f #v2.35.5
62+
timeout-minutes: 5
6263
with:
6364
php-version: ${{ matrix.php-versions }}
6465
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation

0 commit comments

Comments
 (0)