Skip to content

Commit

Permalink
(chore): php config version, cleanup test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakyWizard committed Nov 19, 2024
1 parent 6a2c17e commit ed83f08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1]
laravel: [10.*]
include:
- laravel: 10.*
testbench: 8.*
os: [ ubuntu-latest ]
php: [ 8.1,8.2 ]

name: PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}
name: PHP${{ matrix.php }}

permissions:
contents: read
Expand Down Expand Up @@ -53,7 +49,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
},
"platform": {
"php": "8.1"
}
},
"require": {
"php": "8.1.*",
"php": ">=8.1",
"ckr/arraymerger": "^3.0",
"webmozart/assert": "^1.11"
},
Expand Down

0 comments on commit ed83f08

Please sign in to comment.