From ca268086351d20ef6474d186a8e467aa0fe39296 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Thu, 28 Mar 2024 11:03:12 +0700 Subject: [PATCH] ci: Prevent rate limit --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5623b5b..d1e55a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -27,12 +26,12 @@ 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 - name: Test & Generate Code Coverage run: ./vendor/bin/phpunit