diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index fd66acb..bf59cfe 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -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') }} @@ -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: @@ -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 @@ -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') }}