We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dedc12 commit 65c6f82Copy full SHA for 65c6f82
1 file changed
.github/workflows/composer.yml
@@ -0,0 +1,29 @@
1
+name: Composer
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - 'composer.json'
8
+ pull_request:
9
10
11
+ workflow_dispatch:
12
13
+jobs:
14
+ validate:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Setup PHP
20
+ uses: shivammathur/setup-php@v2
21
+ with:
22
+ php-version: '8.2'
23
+ tools: composer
24
25
+ - name: Validate composer.json
26
+ run: composer validate --strict
27
28
+ - name: Check dependencies
29
+ run: composer install --prefer-dist --no-progress --dry-run
0 commit comments