Version bump - [email protected] (#54) #14
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
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.1', '8.2', '8.3'] | |
laravel: ['7.*', '8.*', '9.*', '10.*'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv | |
tools: composer | |
coverage: none | |
- name: Run composer install | |
run: | | |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update | |
composer update --no-interaction --no-suggest --prefer-dist | |
- name: Lint and formatting | |
run: | | |
composer run-script format-check | |
- name: Run tests | |
run: | | |
composer run-script test |