Skip to content

Commit

Permalink
DevKit updates (#6433)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Oct 1, 2020
1 parent 2276061 commit 582b143
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,40 @@
on: [push, pull_request]
# DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.

name: Quality assurance

on:
push:
branches:
- master
- 3.x
pull_request:

jobs:
phpstan:
name: PHPStan

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: PHPStan
uses: "docker://oskarstark/phpstan-ga"
uses: docker://oskarstark/phpstan-ga
env:
REQUIRE_DEV: true
with:
args: analyse -c .phpstan/phpstan.neon.dist

psalm:
name: Psalm

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Psalm
uses: docker://vimeo/psalm-github-actions
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ endif
docs:
cd docs && sphinx-build -W -b html -d _build/doctrees . _build/html
.PHONY: docs

phpstan:
docker run --env REQUIRE_DEV=true --rm -it -w=/app -v ${PWD}:/app oskarstark/phpstan-ga:latest -c .phpstan/phpstan.neon.dist
.PHONY: phpstan

0 comments on commit 582b143

Please sign in to comment.