mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
Add TwigCS to the CI
This commit is contained in:
parent
6e61ee4f56
commit
4742b890da
5
.github/workflows/coding-standards.yml
vendored
5
.github/workflows/coding-standards.yml
vendored
@ -12,7 +12,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
coding-standards:
|
||||
name: "CS Fixer & PHPStan"
|
||||
name: "CS Fixer, PHPStan & TwigCS"
|
||||
runs-on: "ubuntu-20.04"
|
||||
|
||||
steps:
|
||||
@ -46,3 +46,6 @@ jobs:
|
||||
|
||||
- name: "Run PHPStan"
|
||||
run: "php bin/phpstan analyse --no-progress --error-format=checkstyle | cs2pr"
|
||||
|
||||
- name: "Run TwigCS"
|
||||
run: "php bin/twigcs --severity=error --display=blocking --reporter checkstyle src/ | cs2pr"
|
||||
|
Loading…
x
Reference in New Issue
Block a user