Skip to content

Commit

Permalink
To only build in language versions we care about, use PHP 7.4 and 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-bee committed Jan 15, 2025
1 parent 108f363 commit 8e0a0b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/run-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3, 8.4]
laravel: [9.*, 10.*, 11.*]
php: [7.4, 8.0]
laravel: [8.*]
dependency-version: [prefer-stable]
exclude:
- laravel: 11.*
Expand All @@ -44,7 +44,6 @@ jobs:

- name: Install dependencies
run: |
composer remove phpro/grumphp --no-update --dev
composer require "laravel/framework:${{ matrix.laravel }}" --no-update --no-progress
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3, 8.4]
laravel: ['9.*', '10.*', '11.*']
php: [7.4, 8.0]
laravel: ['8.*']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 11.*
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": "^8.1",
"php": "7.4.* | 8.0.*",
"dompdf/dompdf": "^3.0",
"illuminate/support": "^9|^10|^11"
},
Expand Down

0 comments on commit 8e0a0b6

Please sign in to comment.