Skip to content

Commit

Permalink
Merge pull request #44 from Lctrs/Lctrs-patch-1
Browse files Browse the repository at this point in the history
Cache cache directory for phpstan/phpstan
  • Loading branch information
Lctrs committed Mar 21, 2020
2 parents 31d5f1c + 1a4fee2 commit 99470ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/continuous-integration.yaml
Expand Up @@ -187,6 +187,13 @@ jobs:
- name: "Create cache directory for phpstan/phpstan"
run: "mkdir -p .build/phpstan"

- name: "Cache cache directory for phpstan/phpstan"
uses: "actions/cache@v1.1.2"
with:
path: ".build/phpstan"
key: "php-${{ matrix.php-version }}-phpstan-${{ hashFiles('**/composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-phpstan-"

- name: "Run phpstan/phpstan"
run: "vendor/bin/phpstan analyse --configuration=phpstan.neon.dist"

Expand Down

0 comments on commit 99470ab

Please sign in to comment.