From 78005484a669243d10b28d60e8b3083013242f49 Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Tue, 6 Aug 2024 15:13:03 +0200 Subject: [PATCH] Adjust args per run --- .github/workflows/e2e.yml | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 130e718..0530326 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -11,35 +11,43 @@ jobs: - repo: phpstan/phpstan-src name: phpstan - args: --config=build/composer-dependency-analyser.php + cdaArgs: --config=build/composer-dependency-analyser.php + composerArgs: '' - repo: shipmonk-rnd/phpstan-rules name: shipmonk-rules - args: '' + cdaArgs: '' + composerArgs: '' - repo: qossmic/deptrac-src name: deptrac - args: '' + cdaArgs: '' + composerArgs: '' - repo: kreait/firebase-php name: firebase - args: '' + cdaArgs: '' + composerArgs: '' - repo: oveleon/contao-cookiebar name: contao-cookiebar - args: --config=depcheck.php + cdaArgs: --config=depcheck.php + composerArgs: --no-plugins - repo: rectorphp/rector-src name: rector - args: '' + cdaArgs: '' + composerArgs: '' - repo: inspirum/balikobot-php name: balikobot - args: '' + cdaArgs: '' + composerArgs: '' - repo: tomasvotruba/unused-public name: unused-public - args: '' + cdaArgs: '' + composerArgs: '' fail-fast: false steps: - @@ -68,7 +76,7 @@ jobs: - name: Install analyser dependencies working-directory: analyser - run: composer install --no-progress --prefer-dist --no-interaction + run: composer install --no-progress --no-interaction - name: Disable autoloader prepend @@ -79,9 +87,9 @@ jobs: - name: Install ${{ matrix.name }} dependencies working-directory: ${{ matrix.name }} - run: composer install --no-progress --prefer-dist --no-interaction --ignore-platform-reqs --no-plugins + run: composer install --no-progress --no-interaction --ignore-platform-reqs ${{ matrix.composerArgs }} - name: Run analyser working-directory: ${{ matrix.name }} - run: php ../analyser/bin/composer-dependency-analyser ${{ matrix.args }} + run: php ../analyser/bin/composer-dependency-analyser ${{ matrix.cdaArgs }}