Skip to content

Commit

Permalink
feat: pint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsumon4u committed Jan 1, 2025
1 parent a8a3f9c commit 485a3f5
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: pint

on:
push:
branches:
- main
- 3.x
pull_request:
branches: [ main ]

jobs:
pint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install dependencies
run: composer install --no-interaction
- name: Run Laravel Pint
run: ./vendor/bin/pint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >
chore: fix code formatting
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"alebatistella/duskapiconf": "^1.2",
"fakerphp/faker": "^1.9.1",
"laravel/dusk": "^8.0",
"laravel/pint": "^1.19",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "6.4.0|^7.0|^8.1",
"pestphp/pest": "^3.4",
Expand Down
70 changes: 68 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 485a3f5

Please sign in to comment.