Skip to content

Commit

Permalink
chore: Pint update (#68)
Browse files Browse the repository at this point in the history
* WIP

* Update pint.yml

* Update pint.yml
  • Loading branch information
ralphjsmit authored Mar 19, 2024
1 parent 9a20f0c commit 6c0e413
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 68 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/php-cs-fixer.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint with Pint

on:
pull_request:
workflow_call:
workflow_dispatch:

jobs:
pint:
name: Run Pint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Run Pint
uses: aglipanci/laravel-pint-action@latest
with:
verboseMode: true

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: apply Pint"
40 changes: 0 additions & 40 deletions .php_cs.dist.php

This file was deleted.

6 changes: 1 addition & 5 deletions pint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@
"types_spaces": {
"space": "single"
}
},
"exclude": [
"lang",
"vendor.nosync"
]
}
}

0 comments on commit 6c0e413

Please sign in to comment.