Move temp folder for phpstan to local, update github actions
Note: Github actions are not used right now
This commit is contained in:
19
.github/workflows-disabled/ci.yml
vendored
19
.github/workflows-disabled/ci.yml
vendored
@@ -9,8 +9,25 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# - uses: php-actions/composer@v6
|
# - uses: php-actions/composer@v6
|
||||||
|
# env:
|
||||||
|
# COMPOSER_ROOT_VERSION: dev-master
|
||||||
|
- name: "Restore result cache"
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: ./tmp
|
||||||
|
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
||||||
|
restore-keys: |
|
||||||
|
result-cache-v1-${{ matrix.php-version }}-
|
||||||
- name: PHPStan Static Analysis
|
- name: PHPStan Static Analysis
|
||||||
uses: php-actions/phpstan@v3
|
uses: php-actions/phpstan@v3
|
||||||
with:
|
with:
|
||||||
path: src/
|
path: src/
|
||||||
|
- name: "Save result cache"
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
path: ./tmp
|
||||||
|
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
|
||||||
|
# - name: PHPunit Tests
|
||||||
|
# run: |
|
||||||
|
# vendor/bin/phpunit
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
includes:
|
includes:
|
||||||
- phpstan-conditional.php
|
- phpstan-conditional.php
|
||||||
parameters:
|
parameters:
|
||||||
tmpDir: /tmp/phpstan-corelibs-composer
|
tmpDir: %currentWorkingDirectory%/tmp/phpstan-corelibs-composer
|
||||||
level: 8 # max is now 9
|
level: 8 # max is now 9
|
||||||
checkMissingCallableSignature: true
|
checkMissingCallableSignature: true
|
||||||
treatPhpDocTypesAsCertain: false
|
treatPhpDocTypesAsCertain: false
|
||||||
|
|||||||
2
tmp/.gitignore
vendored
Normal file
2
tmp/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
Reference in New Issue
Block a user