diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..7a8e6573 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,25 @@ +name: "Static Analysis" + +on: + pull_request: + branches: + - "master" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - src/** + - phpstan* + - psalm* + push: + branches: + - "master" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - src/** + - phpstan* + - psalm* + +jobs: + static-analysis: + uses: "doctrine/.github/.github/workflows/static-analysis.yml@4.0.0"