Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions .github/workflows/bc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@ on:
- main

jobs:
backwards-compatibility-check:
name: Backwards Compatibility Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
- name: "Install dependencies"
run: |
composer require "laravel/framework:10.*" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction
- name: "Install BC check"
run: "composer require --dev roave/backward-compatibility-check"
- name: "Check for BC breaks"
run: "vendor/bin/roave-backward-compatibility-check"
backwards-compatibility-check:
name: "Backwards Compatibility Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
- name: "Install dependencies"
run: "composer install"
- name: "Install BC check"
run: "composer require --dev roave/backward-compatibility-check"
- name: "Check for BC breaks"
run: "vendor/bin/roave-backward-compatibility-check"
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
laravel: ['10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64.1" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: Execute tests
Expand Down
Loading
Loading