This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #527 from ergebnis/fix/cache
Fix: Do not cache cache directory for `phpstan/phpstan` and `vimeo/psalm`
- Loading branch information
Showing
2 changed files
with
5 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,28 +166,14 @@ jobs: | |
- name: "Create cache directory for phpstan/phpstan" | ||
run: "mkdir -p .build/phpstan" | ||
|
||
- name: "Cache cache directory for phpstan/phpstan" | ||
uses: "actions/[email protected]" | ||
with: | ||
path: ".build/phpstan" | ||
key: "php-${{ matrix.php-version }}-phpstan-${{ github.sha }}" | ||
restore-keys: "php-${{ matrix.php-version }}-phpstan-" | ||
|
||
- name: "Run phpstan/phpstan" | ||
run: "vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=-1" | ||
|
||
- name: "Create cache directory for vimeo/psalm" | ||
run: "mkdir -p .build/psalm" | ||
|
||
- name: "Cache cache directory for vimeo/psalm" | ||
uses: "actions/[email protected]" | ||
with: | ||
path: ".build/psalm" | ||
key: "php-${{ matrix.php-version }}-psalm-${{ github.sha }}" | ||
restore-keys: "php-${{ matrix.php-version }}-psalm-" | ||
|
||
- name: "Run vimeo/psalm" | ||
run: "vendor/bin/psalm --config=psalm.xml --diff --shepherd --show-info=false --stats --threads=4" | ||
run: "vendor/bin/psalm --config=psalm.xml --shepherd --show-info=false --stats --threads=4" | ||
|
||
tests: | ||
name: "Tests" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters