Skip to content

Commit

Permalink
Merge pull request #28 from tienvx/prevent-rate-limit
Browse files Browse the repository at this point in the history
ci: Prevent rate limit
  • Loading branch information
tienvx authored Mar 28, 2024
2 parents 41fe39a + 11d2849 commit 204c86f
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 204c86f

Please sign in to comment.