From 5af0e570af4ea9cd4a60fff39e85f8743b79aa55 Mon Sep 17 00:00:00 2001 From: Giacomo Moscardini Date: Mon, 18 Dec 2023 12:15:13 +0100 Subject: [PATCH] Test only on the latest sylius release --- .github/workflows/build.yml | 8 +++----- composer.json | 8 ++++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6af725c..c65af8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,8 +7,6 @@ on: pull_request: ~ release: types: [ created ] - schedule: - - cron: "0 1 * * 6" # Run at 1am every Saturday workflow_dispatch: ~ jobs: @@ -21,10 +19,10 @@ jobs: fail-fast: false matrix: php: [ "8.0", "8.1", "8.2" ] - symfony: [ "5.4.*", "^6.0" ] - sylius: [ "^1.12" ] + symfony: [ "^5.4", "^6.4" ] + sylius: [ "^1.12.13" ] node: [ "14.x", "16.x", "18.x" ] - mysql: [ "5.7", "8.0" ] + mysql: [ "8.0" ] env: APP_ENV: test DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?serverVersion=${{ matrix.mysql }}" diff --git a/composer.json b/composer.json index 078725a..de51b74 100644 --- a/composer.json +++ b/composer.json @@ -11,12 +11,12 @@ "php": "^8.0", "doctrine/dbal": "^2.7 || ^3.0", "doctrine/migrations": "^3.0", - "doctrine/orm": "^2.12", + "doctrine/orm": "^2.13", "psr/log": "^2.0", "sylius/mailer-bundle": "^1.8 || ^2.0", - "sylius/resource": "^1.8", - "sylius/resource-bundle": "^1.8", - "sylius/sylius": "^1.12", + "sylius/resource": "^1.9", + "sylius/resource-bundle": "^1.9", + "sylius/sylius": "^1.12.13", "symfony/config": "^5.4 || ^6.0", "symfony/console": "^5.4 || ^6.0", "symfony/dependency-injection": "^5.4 || ^6.0",