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 326cf79 commit be54df8Copy full SHA for be54df8
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup PHP
16
+ uses: shivammathur/setup-php@v2
17
+ with:
18
+ php-version: 8.2
19
+ tools: composer:v2
20
21
+ - name: Validate composer.json
22
+ run: composer validate --strict
23
+ continue-on-error: true
24
25
+ - name: Install dependencies
26
+ run: composer install --prefer-dist --no-progress --no-interaction
27
28
29
+ - name: PHP Syntax check
30
+ run: find src -name "*.php" -exec php -l {} \;
31
0 commit comments