Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rubel committed Nov 21, 2024
1 parent e342acc commit 3c2b737
Show file tree
Hide file tree
Showing 3 changed files with 492 additions and 1,074 deletions.
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"
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
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

0 comments on commit 3c2b737

Please sign in to comment.