Skip to content

Commit 017c028

Browse files
authored
Merge pull request #284 from SenseException/static-analysis
Use doctrine static-analysis workflow
2 parents 98ad0ba + a715486 commit 017c028

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,6 @@ on:
2222
- "tests/**"
2323

2424
jobs:
25-
static-analysis-phpstan:
26-
name: "Static Analysis with PHPStan"
27-
runs-on: "ubuntu-20.04"
28-
29-
strategy:
30-
matrix:
31-
php-version:
32-
- "8.1"
33-
34-
steps:
35-
- name: "Checkout code"
36-
uses: "actions/checkout@v3"
37-
38-
- name: "Install PHP"
39-
uses: "shivammathur/setup-php@v2"
40-
with:
41-
coverage: "none"
42-
php-version: "${{ matrix.php-version }}"
43-
44-
- name: "Install dependencies with Composer"
45-
uses: "ramsey/composer-install@v2"
46-
with:
47-
dependency-versions: "highest"
48-
composer-options: "${{ inputs.composer-options }}"
49-
50-
- name: "Run a static analysis with phpstan/phpstan"
51-
run: "vendor/bin/phpstan analyse"
25+
static-analysis:
26+
name: "Static Analysis"
27+
uses: "doctrine/.github/.github/workflows/static-analysis.yml@13.1.0"

0 commit comments

Comments
 (0)