Skip to content

Commit

Permalink
Add phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkregel committed May 21, 2024
1 parent ce23397 commit 619de35
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: PHP Unit
on: [ pull_request ]
jobs:
phpunit:
name: PHPStan
larastan:
name: Larastan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -21,7 +21,10 @@ jobs:
touch database/database.sqlite
cp .env.ci .env
./bin/sail up -d
- name: tear down containers
- name: Larastan Analysis
run: |
./bin/sail bin phpstan analyse --error-format=github
- name: tear down containers
run: |
./bin/sail down

0 comments on commit 619de35

Please sign in to comment.