diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 488adf5..c99695e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,16 +22,16 @@ jobs: matrix: php: [ "8.0", "8.1", "8.2", "8.3" ] symfony: [ "^5.4", "^6.0" ] - sylius: [ "^1.12", "^1.13" ] + sylius: [ "~1.12.0", "~1.13.0" ] node: [ "18.x", "20.x" ] mysql: [ "8.0" ] - + exclude: - - sylius: ^1.13 - php: 8.0 - - sylius: ^1.12 - php: 8.0 - symfony: ^6.4 + - sylius: "~1.13.0" + php: "8.0" + - sylius: "~1.12.0" + php: "8.0" + symfony: "^6.4" env: APP_ENV: test @@ -147,7 +147,7 @@ jobs: run: vendor/bin/behat --colors --strict -vvv --no-interaction || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun - name: Upload Behat logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: Behat logs diff --git a/composer.json b/composer.json index 759480d..3b76014 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "require": { "php": "^8.0", - "sylius/sylius": "^1.12 || ^1.13" + "sylius/sylius": "~1.12.0 || ~1.13.0" }, "require-dev": { "behat/behat": "^3.7", @@ -39,7 +39,8 @@ "vimeo/psalm": "4.27" }, "conflict": { - "behat/mink-selenium2-driver": ">=1.7.0" + "behat/mink-selenium2-driver": ">=1.7.0", + "doctrine/persistence": "<3.0" }, "config": { "sort-packages": true,