Reuse PHPStan result cache

This commit is contained in:
Anders Jenbo 2023-12-22 11:11:35 +01:00
parent 301cd4acfa
commit 0e70a999cb
3 changed files with 5 additions and 5 deletions

View File

@ -40,14 +40,12 @@ jobs:
echo "No syntax errors were detected."
fi
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
path: |
~/.cache/composer/files
./.cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

1
.gitignore vendored
View File

@ -42,3 +42,4 @@
/upload/.idea/*
/.idea/*
/.DS_Store
/.cache

View File

@ -5,3 +5,4 @@ parameters:
excludePaths:
- ./system/storage/vendor/
- ./upload/system/storage/vendor/
tmpDir: .cache