diff --git a/.github/workflows/test-bacon.yml b/.github/workflows/test-bacon.yml index 82faaaf..3dfe983 100644 --- a/.github/workflows/test-bacon.yml +++ b/.github/workflows/test-bacon.yml @@ -11,6 +11,7 @@ jobs: strategy: matrix: php-version: ['8.2', '8.3'] + bacon-version: ['^2', '^3'] steps: - uses: actions/checkout@v4 @@ -22,9 +23,9 @@ jobs: coverage: xdebug ini-values: error_reporting=E_ALL - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 - - run: composer require bacon/bacon-qr-code + - run: composer require bacon/bacon-qr-code:${{ matrix.bacon-version }} - run: composer lint-ci - run: composer test testsDependency/BaconQRCodeTest.php diff --git a/.github/workflows/test-endroid.yml b/.github/workflows/test-endroid.yml index 7312acb..72b17bc 100644 --- a/.github/workflows/test-endroid.yml +++ b/.github/workflows/test-endroid.yml @@ -23,7 +23,7 @@ jobs: coverage: xdebug ini-values: error_reporting=E_ALL - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 - run: composer require endroid/qrcode:${{ matrix.endroid-version }} -W diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e9564dc..4a51285 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: coverage: xdebug ini-values: error_reporting=E_ALL - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 - run: composer lint-ci - run: composer phpstan