Skip to content

Commit e7e847f

Browse files
authored
Merge pull request #2 from list-interop/composer-require-checker
Enable composer require check in CI
2 parents 9aa8322 + aefeb33 commit e7e847f

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/continuous-integration.yml

+26
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,29 @@ jobs:
3030
token: ${{ secrets.CODECOV_TOKEN }}
3131
file: ./coverage.xml
3232
fail_ci_if_error: false
33+
34+
composer-require-checker:
35+
name: "Check for missing dependencies"
36+
runs-on: "ubuntu-latest"
37+
38+
steps:
39+
- name: "Checkout"
40+
uses: actions/checkout@v3
41+
42+
- name: "Install PHP"
43+
uses: shivammathur/setup-php@v2
44+
with:
45+
php-version: 8.1
46+
47+
- uses: "ramsey/[email protected]"
48+
with:
49+
dependency-versions: "highest"
50+
51+
- name: "Set global composer bin-dir"
52+
run: composer global config bin-dir /usr/local/bin
53+
54+
- name: "Install require checker"
55+
run: composer global require -W maglnet/composer-require-checker
56+
57+
- name: "Check"
58+
run: /usr/local/bin/composer-require-checker check

composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)