Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Simoneu01 committed Oct 8, 2023
1 parent 01f8ccb commit fab7afc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 47 deletions.
4 changes: 0 additions & 4 deletions .github/restyled.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
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: Laravel Pint

on:
workflow_dispatch:
pull_request:
paths:
- '**.php'

permissions:
contents: write

jobs:
laravel-pint:
runs-on: ubuntu-latest

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

- name: Fix PHP code style issues
uses: aglipanci/[email protected]
with:
useComposer: true

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >
chore: styling
42 changes: 0 additions & 42 deletions .github/workflows/publish.yml

This file was deleted.

0 comments on commit fab7afc

Please sign in to comment.