Skip to content

Commit

Permalink
Support for Statamic v5
Browse files Browse the repository at this point in the history
Add pint action
Remove composer.lock
  • Loading branch information
Sylvester Damgaard committed Apr 10, 2024
1 parent 85a30a5 commit d666b89
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8,440 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PHP Linting
on: pull_request
jobs:
phplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: aglipanci/laravel-pint-action@2.0.0
name: "laravel-pint"
with:
preset: laravel
verboseMode: true
pintVersion: 1.13.7
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply pint changes
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ vendor
mix-manifest.json
.idea
public/hot
composer.lock
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"require": {
"statamic/cms": "^4.39.0"
"statamic/cms": "^4.39.0 || ^5.0"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit d666b89

Please sign in to comment.