Skip to content

Commit

Permalink
ci: Prevent rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Mar 28, 2024
1 parent 41fe39a commit 11d2849
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpstan, php-cs-fixer:3
coverage: pcov

- name: Checkout
Expand All @@ -27,12 +26,14 @@ jobs:
dependency-versions: ${{ matrix.dependency-versions }}

- name: Run PHP CS Fixer
run: php-cs-fixer fix --diff --dry-run
env:
PHP_CS_FIXER_IGNORE_ENV: 1
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run

- name: Run PHPStan
run: phpstan
uses: docker://oskarstark/phpstan-ga
env:
REQUIRE_DEV: true

- name: Test & Generate Code Coverage
run: ./vendor/bin/phpunit
Expand Down

0 comments on commit 11d2849

Please sign in to comment.