Skip to content

Commit

Permalink
ci: add analyze action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannecron committed Oct 5, 2023
1 parent 18359e6 commit 10e2d14
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ jobs:
run: composer update
- name: Run phpcs
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

0 comments on commit 10e2d14

Please sign in to comment.