-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Add composer.lock to version control Previously, composer.lock was mistakenly added to .gitignore. This commit corrects that oversight to ensure reproducible builds and consistent dependencies across environments. * chore: Support Laravel 10 * ci: Exclude PHP 8.0 and Laravel 10.* testing combination Update CI matrix to exclude tests against Laravel 10.* on PHP 8.0. * ci: Update GitHub Actions workflow for deprecated set-output - Replace deprecated ::set-output with Environment Files. - Update action versions to the latest stable releases. * ci: Migrate to $GITHUB_OUTPUT for setting outputs - Replace deprecated ::set-output with the new environment file method. - Update workflow to retrieve outputs using steps.[step_id].outputs. * chore: Update docs
- Loading branch information
1 parent
b01a85c
commit 02c1023
Showing
5 changed files
with
8,412 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,26 +8,42 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: [7.3, 7.4, 8.0, 8.1] | ||
laravel: [7.*, 8.*, 9.*] | ||
php: [7.3, 7.4, 8.0, 8.1, 8.2] | ||
laravel: [7.*, 8.*, 9.*, 10.*] | ||
dependency-versions: [prefer-stable] | ||
include: | ||
- laravel: 10.* | ||
testbench: 10.* | ||
- laravel: 9.* | ||
testbench: 7.* | ||
- laravel: 8.* | ||
testbench: 6.* | ||
- laravel: 7.* | ||
testbench: 5.* | ||
exclude: | ||
- php: 7.3 | ||
laravel: 9.* | ||
- php: 7.4 | ||
laravel: 9.* | ||
- php: 8.0 | ||
- php: 8.2 | ||
laravel: 7.* | ||
- php: 8.2 | ||
laravel: 8.* | ||
- php: 8.2 | ||
laravel: 9.* | ||
|
||
- php: 8.1 | ||
laravel: 7.* | ||
|
||
- php: 8.0 | ||
laravel: 10.* | ||
|
||
- php: 7.4 | ||
laravel: 9.* | ||
- php: 7.4 | ||
laravel: 10.* | ||
|
||
- php: 7.3 | ||
laravel: 9.* | ||
- php: 7.3 | ||
laravel: 10.* | ||
|
||
|
||
name: PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }} / ${{ matrix.dependency-versions }} | ||
|
||
|
@@ -44,13 +60,13 @@ jobs: | |
coverage: none | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
id: composer_cache | ||
|
||
- name: Cache composer dependencies | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
path: ${{ steps.composer_cache.outputs.COMPOSER_CACHE_DIR }} | ||
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | ||
restore-keys: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
.DS_Store | ||
.phpunit.result.cache | ||
phpunit.xml | ||
composer.lock | ||
yarn.lock | ||
package.lock | ||
npm-debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.