Skip to content

Commit 96e0e94

Browse files
committed
Adjust validations
1 parent 13006e9 commit 96e0e94

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/php.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919

2020
- name: Validate composer.json and composer.lock
21-
run: composer validate --strict
21+
run: composer validate
2222

2323
- name: Cache Composer packages
2424
id: composer-cache
@@ -32,6 +32,15 @@ jobs:
3232
- name: Install dependencies
3333
run: composer install --prefer-dist --no-progress
3434

35+
- name: PHP 7.4 compatibility
36+
run: composer sniffer:php7.4
37+
38+
- name: PHP 8.0 compatibility
39+
run: composer sniffer:php8.0
40+
41+
- name: PHP 8.1 compatibility
42+
run: composer sniffer:php8.1
43+
3544
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
3645
# Docs: https://getcomposer.org/doc/articles/scripts.md
3746

0 commit comments

Comments
 (0)