Reuse PHPStan result cache
This commit is contained in:
parent
301cd4acfa
commit
0e70a999cb
8
.github/workflows/Lint.yml
vendored
8
.github/workflows/Lint.yml
vendored
@ -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
1
.gitignore
vendored
@ -42,3 +42,4 @@
|
||||
/upload/.idea/*
|
||||
/.idea/*
|
||||
/.DS_Store
|
||||
/.cache
|
||||
|
@ -5,3 +5,4 @@ parameters:
|
||||
excludePaths:
|
||||
- ./system/storage/vendor/
|
||||
- ./upload/system/storage/vendor/
|
||||
tmpDir: .cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user