diff --git a/.github/workflows/run-phpstan-pull.yml b/.github/workflows/run-phpstan-pull.yml index e6663148e..9f8b7a5d7 100644 --- a/.github/workflows/run-phpstan-pull.yml +++ b/.github/workflows/run-phpstan-pull.yml @@ -23,14 +23,6 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo steps: - - name: Wait for tests to finish - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - running-workflow-name: 'Run Tests Pull' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 - - name: Checkout code uses: actions/checkout@v4 @@ -70,8 +62,8 @@ jobs: - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer- + key: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer- - name: Add token run: | @@ -88,17 +80,10 @@ jobs: - name: Install PHPStan run: composer require larastan/larastan:^2.0 --no-interaction - - uses: actions/cache/restore@v4 - id: larastan-restore + - uses: actions/cache@v4 with: path: ./build/phpstan key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }} - name: Run PHPStan Tests - run: ./vendor/bin/phpstan analyse - - - uses: actions/cache/save@v4 - id: larastan-save - with: - path: ./build/phpstan - key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }} + run: ./vendor/bin/phpstan analyse \ No newline at end of file diff --git a/.github/workflows/run-phpstan.yml b/.github/workflows/run-phpstan.yml index 1b7304a85..742eb28a7 100644 --- a/.github/workflows/run-phpstan.yml +++ b/.github/workflows/run-phpstan.yml @@ -26,14 +26,6 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo steps: - - name: Wait for tests to finish - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - running-workflow-name: 'Run Standard Tests' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 - - name: Checkout code uses: actions/checkout@v4 @@ -73,8 +65,8 @@ jobs: - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer- + key: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer- - name: Add token run: | @@ -91,17 +83,10 @@ jobs: - name: Install PHPStan run: composer require larastan/larastan:^2.0 --dev --no-interaction - - uses: actions/cache/restore@v4 - id: larastan-restore + - uses: actions/cache@v4 with: path: ./build/phpstan key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }} - name: Run PHPStan Tests - run: ./vendor/bin/phpstan analyse - - - uses: actions/cache/save@v4 - id: larastan-save - with: - path: ./build/phpstan - key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }} + run: ./vendor/bin/phpstan analyse \ No newline at end of file diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 490c6a3a3..5fdfbfd7d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -26,14 +26,6 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr steps: - - name: Wait for styling to finish - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - running-workflow-name: 'Fix PHP code style issues' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 - - name: Checkout code uses: actions/checkout@v4 @@ -113,14 +105,6 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr steps: - - name: Wait for styling to finish - uses: lewagon/wait-on-check-action@v1.3.4 - with: - ref: ${{ github.ref }} - running-workflow-name: 'Fix PHP code style issues' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 - - name: Checkout code uses: actions/checkout@v4