Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions .github/workflows/run-phpstan-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

Expand Down Expand Up @@ -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: |
Expand All @@ -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
23 changes: 4 additions & 19 deletions .github/workflows/run-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

Expand Down Expand Up @@ -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: |
Expand All @@ -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
16 changes: 0 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

Expand Down Expand Up @@ -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/[email protected]
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

Expand Down
Loading