Skip to content

Commit

Permalink
Remove unnecessary action
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed May 15, 2023
1 parent 04be69b commit f7ef1f1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
# - Sets up PHP.
# - Logs debug information.
# - Installs Composer dependencies (use cache if possible).
# - Make Composer packages available globally.
# - Runs PHPStan on the full codebase.
phpstan:
name: Static Analysis (PHP ${{ matrix.php-versions }})
Expand All @@ -47,7 +46,6 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
coverage: none
tools: cs2pr, phpstan
env:
fail-fast: false

Expand All @@ -62,8 +60,5 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2

- name: Make Composer packages available globally
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH

- name: Run PHPStan static analysis (PHP ${{ matrix.php-versions }})
run: phpstan analyse -c phpstan.neon --error-format=checkstyle --memory-limit=1G | cs2pr
run: composer lint:phpstan

0 comments on commit f7ef1f1

Please sign in to comment.