Skip to content

Commit

Permalink
chore: run tests for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Mar 14, 2024
1 parent 27399b4 commit baa3bdf
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.3'
extensions: dom, fileinfo, mbstring, xdebug

- name: Get composer cache directory
run: echo "COMPOSER_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.COMPOSER_DIR }}
key: ${{ runner.os }}-composer-static-analysis-${{ hashFiles('**/composer.json') }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
fail-fast: false

matrix:
laravel: ['10.0', '9.0', '8.0', '7.0', '6.0', '5.8.0', '5.7.0', '5.6.0', '5.5.0', '5.4.0', '5.3.0', '5.2.0', '5.1.0']
laravel: ['11.0', '10.0', '9.0', '8.0', '7.0', '6.0', '5.8.0', '5.7.0', '5.6.0', '5.5.0', '5.4.0', '5.3.0', '5.2.0', '5.1.0']
php: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0']
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
Expand Down Expand Up @@ -122,6 +122,13 @@ jobs:
- { laravel: '10.0', php: '7.3' }
- { laravel: '10.0', php: '7.4' }
- { laravel: '10.0', php: '8.0' }
- { laravel: '11.0', php: '7.0' }
- { laravel: '11.0', php: '7.1' }
- { laravel: '11.0', php: '7.2' }
- { laravel: '11.0', php: '7.3' }
- { laravel: '11.0', php: '7.4' }
- { laravel: '11.0', php: '8.0' }
- { laravel: '11.0', php: '8.1' }

steps:
- uses: actions/checkout@v4
Expand All @@ -141,7 +148,7 @@ jobs:
run: echo "COMPOSER_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.COMPOSER_DIR }}
key: ${{ runner.os }}-composer-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.json') }}
Expand Down

0 comments on commit baa3bdf

Please sign in to comment.