Skip to content

Commit

Permalink
CS fix with Laravel Pint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Oct 18, 2024
1 parent 3f5d015 commit e5b9699
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/run-cs-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: run-cs-fix

on:
push:

jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, dom, curl, libxml, mbstring
coverage: none

- name: Install Pint
run: composer global require laravel/pint

- name: Run Pint
run: pint

- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Fix code style"
3 changes: 0 additions & 3 deletions .styleci.yml

This file was deleted.

0 comments on commit e5b9699

Please sign in to comment.