Skip to content

Commit

Permalink
update: Switched update to an exclusive version to prevent the next r…
Browse files Browse the repository at this point in the history
…ule update from being a major bump if it follows the prior convention of not being backported
  • Loading branch information
erik-perri committed Mar 11, 2024
1 parent b8d098a commit 6f49185
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2, 8.3]
stability: ["--prefer-lowest", "--prefer-stable", ""]
php: [8.2, 8.3]
stability: ["--prefer-lowest", "--prefer-stable"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -29,9 +29,9 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.strategy }}-composer-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php }}-${{ matrix.strategy }}-composer-
${{ runner.os }}-${{ matrix.php }}-${{ matrix.stability }}-composer-
- name: Install Composer dependencies
run: composer update --no-interaction --no-progress --optimize-autoloader --prefer-dist ${{ matrix.stability }}
Expand Down
7 changes: 7 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Upgrade Guide

## v5

### Upgrading from v4.3 to v5.0

- Minimum Laravel version increased from `10.46` to `11.0`.
- Minimum PHP version increased from `8.1` to `8.2`.

## v4

### Upgrading from v4.2 to v4.3
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"license": "MIT",
"minimum-stability": "dev",
"require": {
"php": "^8.1",
"laravel/framework": "^10.46|^11.0|11.x-dev"
"php": "^8.2",
"laravel/framework": "^11.0|11.x-dev"
},
"require-dev": {
"ext-json": "*",
"orchestra/testbench": "^8.21|9.x-dev",
"orchestra/testbench": "9.x-dev",
"phpunit/phpunit": "^10.5",
"laravel/pint": "1.13.9",
"larastan/larastan": "^2.0"
Expand Down

0 comments on commit 6f49185

Please sign in to comment.