mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix script and job
This commit is contained in:
parent
4db6933c17
commit
b77b3e3fc8
@ -33,7 +33,8 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress --error-format=table > phpstan-report.txt
|
||||
EXIT_CODE=$?
|
||||
|
||||
if [ $GITHUB_ACTIONS -ne "true" ]; then
|
||||
if [[ $GITHUB_ACTIONS = "" ]]
|
||||
then
|
||||
echo 'The PHPstan report can be found in phpstan-report.txt'
|
||||
exit $EXIT_CODE
|
||||
fi
|
||||
|
4
.github/workflows/sonarcloud.yml
vendored
4
.github/workflows/sonarcloud.yml
vendored
@ -49,9 +49,7 @@ jobs:
|
||||
run: composer install --prefer-dist --no-interaction --no-progress --no-scripts
|
||||
|
||||
- name: PHPStan
|
||||
uses: php-actions/phpstan@v3
|
||||
with:
|
||||
configuration: .ci/phpstan.neon
|
||||
run: .ci/phpstan.sh
|
||||
|
||||
- name: "Create database file"
|
||||
run: touch storage/database/database.sqlite
|
||||
|
Loading…
Reference in New Issue
Block a user