Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Nov 14, 2023
1 parent d309adc commit 974cbc5
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }})
Expand All @@ -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' }
Expand All @@ -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
Expand Down

0 comments on commit 974cbc5

Please sign in to comment.