diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9337e47..e9f58cb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -39,12 +39,16 @@ jobs: matrix: include: - php-version: "8.1" - dependencies: "lowest" # Pimcore 10.6.0 + dependencies: "lowest" # Pimcore 10.6.0, Symfony 5.4, FOSHttpCacheBundle 2.* - php-version: "8.1" - dependencies: "highest" # Pimcore 11.* + dependencies: "highest" # Pimcore 11.*, Symfony 6.4, FOSHttpCacheBundle 3.* tests: --fail-on-risky - php-version: "8.2" - dependencies: "highest" # Pimcore 11.* + dependencies: "highest" # Pimcore 11.*, Symfony 6.4, FOSHttpCacheBundle 2.* + composer-options: "--with=friendsofsymfony/http-cache:^2.16 --with=friendsofsymfony/http-cache-bundle:^2.17" + tests: --fail-on-risky + - php-version: "8.2" + dependencies: "highest" # Pimcore 11.*, Symfony 6.4, FOSHttpCacheBundle 3.* tests: --fail-on-risky steps: diff --git a/composer.json b/composer.json index e81eafc..d376716 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,8 @@ ], "require": { "php": "~8.1.0 || ~8.2.0", - "friendsofsymfony/http-cache": "^2.16", - "friendsofsymfony/http-cache-bundle": "^2.17", + "friendsofsymfony/http-cache": "^2.16 || ^3.0", + "friendsofsymfony/http-cache-bundle": "^2.17 || ^3.0", "pimcore/pimcore": "^10.6 || ^11.2", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/config": "^5.4 || ^6.4",