Skip to content

Commit

Permalink
chore: PHPStan GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Feb 28, 2024
1 parent 19abf91 commit e4a3ace
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/psalm_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ on:
- pull_request
- push
jobs:
psalm:
name: Psalm
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- name: Composer install
run: composer install --no-interaction --no-ansi --no-progress
- name: Run Psalm
run: vendor/vimeo/psalm/psalm --no-progress --show-info=false
- name: Run PHPStan
run: composer run phpstan
phpunit:
name: PHPUnit
runs-on: ubuntu-latest
Expand All @@ -32,4 +32,4 @@ jobs:
- name: Composer install
run: composer install --no-interaction --no-ansi --no-progress
- name: Run PHPUnit
run: vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
run: vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml

0 comments on commit e4a3ace

Please sign in to comment.