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 ded0456 commit 5a38512Copy full SHA for 5a38512
.github/workflows/composer-validate.yml
@@ -0,0 +1,35 @@
1
+name: "Check validity of composer.json"
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - "v*.*"
7
+ - "master"
8
+ - "feature/*"
9
+ push:
10
11
12
13
14
15
+env:
16
+ PHP_VERSION: "8.2"
17
18
+jobs:
19
+ composer-validate:
20
+ name: "Check validity of composer.json"
21
+ runs-on: "ubuntu-24.04"
22
23
+ steps:
24
+ - name: "Checkout"
25
+ uses: "actions/checkout@v4"
26
+ with:
27
+ submodules: true
28
29
+ - name: "Install PHP"
30
+ uses: "shivammathur/setup-php@v2"
31
32
+ php-version: "${{ env.PHP_VERSION }}"
33
34
+ - name: "Run composer validate"
35
+ run: "composer validate --strict"
0 commit comments