Skip to content

Commit 057356a

Browse files
committed
ci: add composer validation and job timeout
1 parent 0ce9801 commit 057356a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
tests:
1818
name: PHP ${{ matrix.php }} Test
1919
runs-on: ubuntu-latest
20+
timeout-minutes: 10
2021
strategy:
2122
fail-fast: false
2223
matrix:
@@ -33,6 +34,10 @@ jobs:
3334
tools: composer:v2
3435
coverage: none
3536

37+
- name: Validate Composer configuration
38+
if: matrix.php == '8.1'
39+
run: composer validate --strict --no-check-lock
40+
3641
- name: Install dependencies
3742
run: composer update --prefer-dist --no-interaction --no-progress
3843

0 commit comments

Comments
 (0)