Github action phpstan temp folder location
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: "Restore result cache"
|
- name: "Restore result cache"
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/phpstan-codeblocks-dotenv
|
path: ./tmp/phpstan-codeblocks-dotenv
|
||||||
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
result-cache-v1-${{ matrix.php-version }}-
|
result-cache-v1-${{ matrix.php-version }}-
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
path: /tmp/phpstan-codeblocks-dotenv
|
path: ./tmp/phpstan-codeblocks-dotenv
|
||||||
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
||||||
# We need to use phpunit from the self install to get the class paths
|
# We need to use phpunit from the self install to get the class paths
|
||||||
- name: PHPunit Tests
|
- name: PHPunit Tests
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# PHP Stan Config
|
# PHP Stan Config
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
tmpDir: /tmp/phpstan-codeblocks-dotenv
|
tmpDir: %currentWorkingDirectory%/tmp/phpstan-codeblocks-dotenv
|
||||||
level: max
|
level: max
|
||||||
paths:
|
paths:
|
||||||
- %currentWorkingDirectory%/src
|
- %currentWorkingDirectory%/src
|
||||||
|
|||||||
2
tmp/.gitignore
vendored
Normal file
2
tmp/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
Reference in New Issue
Block a user