Skip to content

Commit

Permalink
CI: make linting errors appear in PRs 'Files Changed' tab (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed May 4, 2023
1 parent 9926098 commit 3b592dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

-
name: 'PHP Linter'
run: vendor/bin/parallel-lint src tests
run: vendor/bin/parallel-lint src tests --checkstyle | cs2pr

-
name: 'Check Commented Code'
Expand All @@ -54,6 +54,7 @@ jobs:
with:
php-version: 8.1
coverage: none
tools: cs2pr

# composer install cache - https://github.com/ramsey/composer-install
- uses: "ramsey/composer-install@v2"
Expand Down

0 comments on commit 3b592dc

Please sign in to comment.