From eca3b79118448780e6d655d1d2c9acd983a1cb50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 16 Feb 2023 11:47:34 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c006c31..9aa5023b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,9 @@ env: on: push: - branches: [ 3.x, 2.x ] + branches: [ 3.x ] pull_request: - branches: [ 3.x, 2.x ] + branches: [ 3.x ] jobs: tests: @@ -15,22 +15,17 @@ jobs: strategy: matrix: - php: ["8.0", "8.1"] - laravel: ["^9.0", "^10.0"] include: - - laravel: "^9.0" - testbench: "^7.0" - - laravel: "^10.0" - testbench: "^8.0" - exclude: - - laravel: "^10.0" - php: "8.0" + - laravel: 9 + php: 8.0 + - laravel: 10 + php: 8.1 steps: - uses: actions/checkout@v2 - name: Start docker containers run: PHP_VERSION=${{ matrix.php }} docker-compose up -d - name: Install dependencies - run: docker-compose exec -T test composer require --no-interaction "laravel/framework:${{ matrix.laravel }}" + run: docker-compose exec -T test composer require --no-interaction "laravel/framework:^${{ matrix.laravel }}.0" - name: Run tests run: ./test