Skip to content

Commit a0cbe63

Browse files
authored
Fix Laravel Version Conflict (#2952)
* refs #2951 Fixed Laravel version conflict * refs #2951 Added check for outdated dependencies * Combined Composer checks in CI
1 parent 2fdedb8 commit a0cbe63

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/quality.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- 'composer.json'
1010

1111
jobs:
12-
composer-validate:
13-
name: composer-validate
12+
composer:
13+
name: composer
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
@@ -26,6 +26,18 @@ jobs:
2626
- name: Validate composer.json and composer.lock 👀
2727
run: composer validate
2828

29+
- name: Install dependencies
30+
run: composer install --no-progress --no-suggest
31+
32+
- name: Check for outdated dependencies
33+
run: |
34+
if [ -n "$(composer outdated --direct)" ]; then
35+
echo "❌ There are outdated dependencies!"
36+
composer outdated --direct
37+
exit 1
38+
fi
39+
shell: bash
40+
2941
psalm:
3042
name: psalm
3143
runs-on: ubuntu-latest

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"phpunit/phpunit": "^10.0 || ^11.0"
5555
},
5656
"conflict": {
57-
"laravel/framework": "<10.48.25 || >=11.34.0",
57+
"laravel/framework": "<=10.48.25, <=11.34.0",
5858
"orchestra/testbench-core": "<8.23.9",
5959
"nesbot/carbon": "<2.66.0"
6060
},

0 commit comments

Comments
 (0)