We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e172294 + 2317b3e commit 4179a30Copy full SHA for 4179a30
1 file changed
README.md
@@ -26,11 +26,16 @@ jobs:
26
runs-on: ubuntu-latest
27
steps:
28
- uses: nxtlvlsoftware/setup-phpstan-action@v1
29
+ env:
30
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
with:
32
version: '1.8.2'
33
install-path: './bin'
34
```
35
36
+Forwarding the `$GIHUB_TOKEN` environment variable is required to properly configure PHPStan as we
37
+interact with the GitHub API to fetch version information.
38
+
39
Or provide the path to an existing PHPStan installation/binary:
40
```yml
41
name: My PHPStan Workflow
@@ -41,6 +46,8 @@ jobs:
46
42
47
43
48
49
50
44
51
45
52
path: 'path/to/your/phpstan.phar'
53
0 commit comments