Skip to content

Commit

Permalink
👷 Add code quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Oct 23, 2021
1 parent 34c0466 commit 2d12908
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Code Quality (PHPStan)

on:
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress --dev
- name: Run test suite
run: composer stan
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: Tests

on:
push:
Expand Down

0 comments on commit 2d12908

Please sign in to comment.