Skip to content

Commit

Permalink
Added Doctrine DBAL workaround for Laravel 10.0 <-> 10.38.2 to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Mar 12, 2024
1 parent d7aa71f commit 09d2fa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Lock Package Versions
run: |
composer require "laravel/framework:${{ matrix.laravel }}.*" --no-update -v
is_smaller_version() [[ $(echo -e "$1\n$2"|sort -V|head -1) != $2 ]]
is_smaller_version "${{ matrix.laravel }}" "10.38.2" && composer req "doctrine/dbal:^3.5.1" --no-update || true
- name: Composer Install
run: composer install --prefer-dist --no-progress --no-interaction
- name: Create SQLite Database
Expand Down

0 comments on commit 09d2fa9

Please sign in to comment.