From 5fd0a4612552a8a4ea40fd07d5858c305cbdaf6e Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sun, 19 Nov 2023 10:59:42 -0300 Subject: [PATCH] Update workflows. --- .github/workflows/build.yml | 2 ++ .github/workflows/dependency-check.yml | 2 ++ .github/workflows/mutation.yml | 3 ++- .github/workflows/static.yml | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e536a64..07ad407 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,8 @@ jobs: phpunit: uses: php-forge/actions/.github/workflows/phpunit.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi extensions: intl os: >- ['ubuntu-latest', 'windows-latest'] diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index c649354..74453db 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -27,6 +27,8 @@ jobs: composer-require-checker: uses: php-forge/actions/.github/workflows/composer-require-checker.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest'] php: >- diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index a787f09..87239c2 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -23,9 +23,10 @@ jobs: mutation: uses: php-forge/actions/.github/workflows/roave-infection.yml@main secrets: - AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }} STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest'] php: >- diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 75a378c..af1b54c 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -25,6 +25,8 @@ jobs: phpstan: uses: php-forge/actions/.github/workflows/phpstan.yml@main with: + composer-command: | + composer require yiisoft/yii2:^2.2.x-dev --prefer-dist --no-progress --no-suggest --no-interaction --no-scripts --ansi os: >- ['ubuntu-latest'] php: >-