equisoft-actions/Psalm
Run psalm
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| memory-limit | Memory limit for analysis | no | — |
| php-version | Set the php version Psalm should assume when checking and/or fixing the project. ex: "8.1" | no | — |
| extra-args | Extra arguments to pass to the psalm binary | no | — |
| default-branch | Default branch to compute changed files | yes | main |
| only-changed-files | Run psalm analysis only on changed files compared to default branch(main). Or previous commit for main branch. With this option, if fetch-depth is not set or greater than 0 you can add a step to fetch the origin/main branch ```yaml - name : Fetch origin/main run : | git fetch --no-tags --prune --depth=1000 origin +refs/heads/main:refs/remotes/origin/main ``` | no | false |
| changed-files-pattern | File path pattern. | yes | \.php |
| changed-files-threshold | If changed file count is greater than this number, perform a full phpcs. | yes | 150 |
| working-directory | Workflow working directory | no | . |
Outputs
no outputs