We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11d923a + 1aabc8e commit c146113Copy full SHA for c146113
.github/workflows/ci.yaml
@@ -33,13 +33,19 @@ jobs:
33
- name: "Checkout code"
34
uses: actions/checkout@v4
35
36
- - name: "Install PHP with extensions"
+ - name: "Install PHP"
37
uses: shivammathur/setup-php@v2
38
with:
39
coverage: "none"
40
php-version: ${{ matrix.php }}
41
tools: composer:${{ matrix.composer }}
42
43
+ - if: matrix.php == '8.0'
44
+ name: "Lint PHP files"
45
+ run: |
46
+ find src/ -name '*.php' | xargs -n1 php -l
47
+ find tests/ -name '*.php' | xargs -n1 php -l
48
+
49
- name: "Validate composer.json"
50
run: "composer validate --strict --no-check-lock"
51
@@ -55,7 +61,3 @@ jobs:
55
61
run: vendor/bin/simple-phpunit install
56
62
57
63
- run: vendor/bin/simple-phpunit
58
-
59
- - if: matrix.php == '8.0'
60
- name: "Lint PHP files"
- run: find src/ -name '*.php' | xargs -n1 php -l
0 commit comments