Add Laravel 11 & Sanctum 4 support #245
Workflow file for this run
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: Code Style | |
on: [push, pull_request] | |
jobs: | |
fix-style: | |
name: Fix Code Style | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
php: [8.2] | |
dependency-version: [prefer-stable] | |
env: | |
COMPOSER_NO_INTERACTION: 1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: dom, curl, libxml, mbstring, zip | |
coverage: pcov | |
- name: Install dependencies | |
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction | |
- run: composer fix-style | |
continue-on-error: true | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: composer fix-style |