Skip to content

Commit d7b56f7

Browse files
authored
Merge pull request #2023 from alissn/AddPintAction
Add PHP Linting (Pint) Action to the Package
2 parents 80323ba + 435b7d1 commit d7b56f7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/php.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,19 @@ jobs:
3131

3232
- name: Run test suite
3333
run: composer run-script test
34+
phplint:
35+
permissions:
36+
contents: write
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v3
40+
- name: "laravel-pint"
41+
uses: aglipanci/laravel-pint-action@latest
42+
with:
43+
configPath: './pint.json'
44+
45+
- name: Commit changes
46+
uses: stefanzweifel/git-auto-commit-action@v4
47+
with:
48+
commit_message: PHP Linting (Pint)
49+
skip_fetch: true

0 commit comments

Comments
 (0)