Skip to content

Commit

Permalink
Fix workflow x2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Mar 14, 2024
1 parent d79f6c1 commit fb5f46c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -77,8 +71,9 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Execute tests
run: composer run-script test
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"require-dev": {
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
"pestphp/pest": "^v1.23.1",
"phpunit/phpunit": "^9.6.10",
"psalm/plugin-laravel": "^2.0",
"vimeo/psalm": "^5.0"
},
Expand Down

0 comments on commit fb5f46c

Please sign in to comment.