Skip to content

Commit

Permalink
phpstan added to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Jan 19, 2021
1 parent 4603118 commit 0673bbf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,17 @@ jobs:
export COVERALLS_RUN_LOCALLY=1
export COVERALLS_REPO_TOKEN=${{ secrets.coverallsToken }}
php vendor/bin/php-coveralls -v
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: composer
run: composer update
- uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: phpstan
run: vendor/bin/phpstan analyse -l 8 src tests

0 comments on commit 0673bbf

Please sign in to comment.