mirror of
https://github.com/Dannecron/coverage-merger.git
synced 2025-12-26 00:02:35 +03:00
ci: add analyze action
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -38,3 +38,14 @@ jobs:
|
|||||||
run: composer update
|
run: composer update
|
||||||
- name: Run phpcs
|
- name: Run phpcs
|
||||||
run: vendor/bin/phpcs --standard=phpcs.xml --report=full --config-set php_version ${{ matrix.php_version }} ./src ./tests
|
run: vendor/bin/phpcs --standard=phpcs.xml --report=full --config-set php_version ${{ matrix.php_version }} ./src ./tests
|
||||||
|
|
||||||
|
analyze:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
container: dannecron/php-for-dev:8.2
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Init composer.lock and install dependencies
|
||||||
|
run: composer update
|
||||||
|
- name: Run phpstan
|
||||||
|
run: vendor/bin/phpstan analyse src tests
|
||||||
|
|||||||
Reference in New Issue
Block a user