mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Add workflow to ensure checks
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
on: push
|
||||||
|
name: Qa workflow
|
||||||
|
jobs:
|
||||||
|
qa-checks:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: composer
|
||||||
|
uses: docker://composer
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
|
- name: Code style check
|
||||||
|
uses: docker://phpdoc/phpcs-ga:master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: -d memory_limit=1024M -s
|
||||||
|
- name: composer-require-checker
|
||||||
|
uses: docker://phpga/composer-require-checker-ga
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: check --config-file ./composer-require-config.json composer.json
|
||||||
|
- name: Psalm
|
||||||
|
uses: docker://mickaelandrieu/psalm-ga
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: PHPStan
|
||||||
|
uses: docker://oskarstark/phpstan-ga
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: analyse src --level max --configuration phpstan.neon
|
||||||
Reference in New Issue
Block a user