Skip to content

Commit

Permalink
Fix composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBean committed Sep 25, 2023
1 parent 2229730 commit 98c192b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,9 @@ on:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.2 ]
laravel: [ 10.* ]
stability: [ prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
style:
name: Style
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -27,14 +16,13 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
run: composer install

- name: Style
run: composer fix-style

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"justbetter/laravel-error-logger": "^2.3",
"justbetter/laravel-magento-client": "^1.4",
"justbetter/laravel-magento-products": "^1.1",
"laravel/framework": "10.*",
"orchestra/testbench": "8.*",
"laravel/framework": "^10.0",
"spatie/laravel-activitylog": "^4.7"
},
"require-dev": {
"doctrine/dbal": "^3.4",
"laravel/pint": "^1.6",
"nunomaduro/larastan": "^2.5",
"orchestra/testbench": "^8.11",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^10.0",
"doctrine/dbal": "^3.4"
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 98c192b

Please sign in to comment.