From a3d86826cec5840d9d7bf0459ca5c2104dcd9085 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 22 Jul 2024 11:53:38 +0300 Subject: [PATCH] Update composer.json and run-tests.yml --- .github/workflows/run-tests.yml | 6 +++--- composer.json | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 64993d0..cd2ea24 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,8 +1,8 @@ name: run-tests on: - - push - - pull_request + push: + pull_request: jobs: test: @@ -47,7 +47,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" "nunomaduro/collision:^7.0" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests diff --git a/composer.json b/composer.json index 7a2f8d9..0248f76 100644 --- a/composer.json +++ b/composer.json @@ -28,8 +28,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.59", "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", - "pestphp/pest": "^1.23", - "nunomaduro/collision": "^5.0|^6.0|^7.0" + "pestphp/pest": "^1.23" }, "autoload": { "psr-4": {