From 974cbc528542c5ad31883f88f3387fc8e9c6f177 Mon Sep 17 00:00:00 2001 From: bepsvpt <8221099+bepsvpt@users.noreply.github.com> Date: Tue, 14 Nov 2023 20:11:51 +0800 Subject: [PATCH] update workflow --- .github/workflows/laravel.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index b91eec9..fd66acb 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2 @@ -45,10 +45,10 @@ jobs: run: composer normalize --dry-run - name: Run static analysis - run: vendor/bin/phpstan --xdebug -vvv + run: vendor/bin/phpstan --verbose - name: Run coding style checker - run: vendor/bin/pint -v --test + run: vendor/bin/pint --verbose --test unit_tests: name: Laravel ${{ matrix.laravel }} (${{ matrix.php }}, ${{ matrix.os }}) @@ -60,44 +60,54 @@ jobs: 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'] - php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.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: - { laravel: '5.1.0', php: '8.0' } - { laravel: '5.1.0', php: '8.1' } - { laravel: '5.1.0', php: '8.2' } + - { laravel: '5.1.0', php: '8.3' } - { laravel: '5.2.0', php: '8.0' } - { laravel: '5.2.0', php: '8.1' } - { laravel: '5.2.0', php: '8.2' } + - { laravel: '5.2.0', php: '8.3' } - { laravel: '5.3.0', php: '8.0' } - { laravel: '5.3.0', php: '8.1' } - { laravel: '5.3.0', php: '8.2' } + - { laravel: '5.3.0', php: '8.3' } - { laravel: '5.4.0', php: '8.0' } - { laravel: '5.4.0', php: '8.1' } - { laravel: '5.4.0', php: '8.2' } + - { laravel: '5.4.0', php: '8.3' } - { laravel: '5.5.0', php: '8.0' } - { laravel: '5.5.0', php: '8.1' } - { laravel: '5.5.0', php: '8.2' } + - { laravel: '5.5.0', php: '8.3' } - { laravel: '5.6.0', php: '7.0' } - { laravel: '5.6.0', php: '8.0' } - { laravel: '5.6.0', php: '8.1' } - { laravel: '5.6.0', php: '8.2' } + - { laravel: '5.6.0', php: '8.3' } - { laravel: '5.7.0', php: '7.0' } - { laravel: '5.7.0', php: '8.0' } - { laravel: '5.7.0', php: '8.1' } - { laravel: '5.7.0', php: '8.2' } + - { laravel: '5.7.0', php: '8.3' } - { laravel: '5.8.0', php: '7.0' } - { laravel: '5.8.0', php: '8.0' } - { laravel: '5.8.0', php: '8.1' } - { laravel: '5.8.0', php: '8.2' } + - { laravel: '5.8.0', php: '8.3' } - { laravel: '6.0', php: '7.0' } - { laravel: '6.0', php: '7.1' } - { laravel: '6.0', php: '8.1' } - { laravel: '6.0', php: '8.2' } + - { laravel: '6.0', php: '8.3' } - { laravel: '7.0', php: '7.0' } - { laravel: '7.0', php: '7.1' } - { laravel: '7.0', php: '8.1' } - { laravel: '7.0', php: '8.2' } + - { laravel: '7.0', php: '8.3' } - { laravel: '8.0', php: '7.0' } - { laravel: '8.0', php: '7.1' } - { laravel: '8.0', php: '7.2' } @@ -114,7 +124,7 @@ jobs: - { laravel: '10.0', php: '8.0' } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2