Skip to content

Commit a54ead9

Browse files
committed
Add phpstan action step
1 parent 3891097 commit a54ead9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/tests.yml renamed to .github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: tests
1+
name: CI
22

33
on:
44
push:
55
branches: [ main ]
66
pull_request:
77

88
jobs:
9-
phpunit:
9+
ci:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
@@ -26,4 +26,8 @@ jobs:
2626
run: composer install --no-progress --no-suggest --prefer-dist
2727

2828
- name: Run PHPUnit
29-
run: vendor/bin/phpunit tests
29+
run: vendor/bin/phpunit tests
30+
31+
- name: Run PHPStan
32+
run: vendor/bin/phpstan analyse src
33+

0 commit comments

Comments
 (0)