Skip to content

Commit 4bdd457

Browse files
committed
[minor] adjust sca gh action
1 parent a52f85f commit 4bdd457

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ jobs:
2727
php: 8
2828

2929
sca:
30-
name: Static Code Analysis
31-
runs-on: ubuntu-latest
32-
steps:
33-
- name: Checkout Code
34-
uses: actions/checkout@v2
35-
36-
- name: Setup PHP
37-
uses: shivammathur/setup-php@v2
38-
with:
39-
php-version: 8.1
40-
coverage: none
41-
42-
- name: Install Dependencies
43-
uses: ramsey/composer-install@v1
44-
45-
- name: Install PHPUnit
46-
run: vendor/bin/simple-phpunit install
47-
48-
- name: Run PHPStan
49-
run: vendor/bin/phpstan --error-format=github
30+
uses: zenstruck/.github/.github/workflows/php-stan.yml@main
31+
with:
32+
php: 8.1

0 commit comments

Comments
 (0)