gitea ci workflow - change validation steps composer install
CI / testsuite (mysql, 8.1, ) (push) Failing after 6m8s Details
CI / testsuite (mysql, 8.4, ) (push) Failing after 5m39s Details
CI / testsuite (sqlite, 8.1, prefer-lowest) (push) Failing after 6m8s Details
CI / Coding Standard & Static Analysis (push) Failing after 5m57s Details

This commit is contained in:
Brandon Shipley 2025-08-12 01:33:38 -07:00
parent ac0dc3c9e3
commit 493068cc1c
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
1 changed files with 12 additions and 2 deletions

View File

@ -102,8 +102,7 @@ jobs:
validation:
name: Coding Standard & Static Analysis
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
@ -123,6 +122,17 @@ jobs:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ steps.key-date.outputs.date }}-${{ hashFiles('composer.json') }}-${{ matrix.prefer-lowest }}
- name: Composer install
run: |
composer --version
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}
then
composer update --prefer-lowest --prefer-stable
composer require --dev dereuromark/composer-prefer-lowest:dev-master
else
composer install --no-progress --prefer-dist --optimize-autoloader
fi
- name: Composer phpstan setup
run: composer stan-setup