update workflows with pint and recent spatie updates

This commit is contained in:
awcodes
2022-09-01 16:49:42 -04:00
parent 489a40bbcd
commit 55dc3118e4
7 changed files with 37 additions and 43 deletions

View File

@@ -0,0 +1,21 @@
name: Fix PHP code style issues
on: [push]
jobs:
php-code-styling:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@1.0.0
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling