Skip to content

Commit

Permalink
feat: upgrade dependencies and remove github actions for php8.2 and l…
Browse files Browse the repository at this point in the history
…aravel 10
  • Loading branch information
mckenziearts committed Dec 7, 2024
1 parent d3787a2 commit df65a47
Show file tree
Hide file tree
Showing 4 changed files with 1,729 additions and 1,413 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
fail-fast: false
matrix:
php: [8.3, 8.2]
laravel: [11.*, 10.*]
laravel: [11.*]
dependency-version: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
name: PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
fail-fast: false
matrix:
php: [8.3, 8.2]
laravel: [11.*, 10.*]
laravel: [11.*]
dependency-version: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
name: PHP:${{ matrix.php }} - Laravel:${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v3
Expand All @@ -40,4 +38,4 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "shopper/core" --dev --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: ./vendor/bin/pest
run: composer test:pest
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"require-dev": {
"bacon/bacon-qr-code": "^2.0",
"blade-ui-kit/blade-heroicons": "^2.0",
"blade-ui-kit/blade-heroicons": "^2.5",
"danharrin/livewire-rate-limiting": "^0.3|^1.0",
"doctrine/dbal": "^3.6",
"filament/filament": "^3.2",
Expand All @@ -35,11 +35,10 @@
"pragmarx/google2fa": "^8.0",
"nunomaduro/collision": "^7.10.0|^8.1.1",
"orchestra/testbench": "^8.20|^9.0",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-laravel": "^2.4",
"pestphp/pest-plugin-livewire": "^2.1",
"pestphp/pest": "^3.5",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-livewire": "^3.0",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^10.5",
"shopper/core": "*",
"spatie/laravel-livewire-wizard": "^2.2",
"stevebauman/location": "^7.2",
Expand Down Expand Up @@ -84,7 +83,7 @@
],
"pint": "./vendor/bin/pint",
"test:pest": "pest --parallel",
"test:phpstan": "phpstan analyse --memory-limit=2G",
"test:phpstan": "phpstan analyse --memory-limit=1G",
"test": [
"@test:phpstan",
"@test:pest"
Expand Down
Loading

0 comments on commit df65a47

Please sign in to comment.