Bump laravel/scout from 10.11.3 to 10.11.4 #490
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: Check & fix styling | |
on: | |
pull_request: | |
push: # (or pull requests) | |
paths: | |
- '.github/workflows/**' | |
- '**.php' | |
- 'app/**' | |
- 'tests/**' | |
- 'phpunit.xml' | |
- 'composer.json' | |
- 'composer.lock' | |
- 'resources/**' | |
- '.prettierrc.json' | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup PHP 🔧 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick | |
coverage: none | |
tools: composer:v2 | |
env: | |
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Dependencies 🔧 | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Run Pint | |
run: vendor/bin/pint | |
- name: Setup Node 🔧 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Dependencies 🔧 | |
run: npm install | |
- name: Run Write | |
run: | |
npx prettier --write ./resources | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fixed code style |