Skip to content

Commit 07f4f96

Browse files
authored
Updating README.md
1 parent c4b9ef6 commit 07f4f96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GitHub Action implementation of the [Laravel Pint](https://github.com/laravel/pi
66

77
Use with [GitHub Actions](https://github.com/features/actions)
88

9-
_.github/workflows/pint.yml_
9+
_.github/workflows/pint.yml
1010

1111
```
1212
name: PHP Linting
@@ -23,12 +23,13 @@ jobs:
2323
verboseMode: true
2424
testMode: true
2525
configPath: "vendor/my-company/coding-style/pint.json"
26+
pintVersion: 1.2.1
2627
2728
```
29+
ℹ️ Starting from version 2 you can specify the Pint version to be used by specifyling a `pintVersion` in your configuration file.
30+
2831
If provided, a `pint.json` file in the root will be used for configuration during run of the Action.
2932

3033
This action **DOESN'T** commit changes automatically. If you want to achieve such behaviour you have to use it in combination with another action like [git-auto-commit Action](https://github.com/stefanzweifel/git-auto-commit-action) or [Create Pull Request Action](https://github.com/marketplace/actions/create-pull-request).
3134

3235
You can see Laravel Pint Action running on my [demo repository](https://github.com/aglipanci/laravel-pint-action-demo/pulls).
33-
34-

0 commit comments

Comments
 (0)