Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mickaelandrieu/psalm-ga
Psalm Github action
https://github.com/mickaelandrieu/psalm-ga
github-action phpqa psalm
Last synced: 23 days ago
JSON representation
Psalm Github action
- Host: GitHub
- URL: https://github.com/mickaelandrieu/psalm-ga
- Owner: mickaelandrieu
- Created: 2019-01-09T23:16:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T16:30:11.000Z (about 3 years ago)
- Last Synced: 2024-10-30T07:46:34.524Z (about 2 months ago)
- Topics: github-action, phpqa, psalm
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GithubAction for Psalm
## Usage
You can use it as a Github Action like this:
_.github/main.workflow_
```
workflow "Main" {
on = "push"
resolves = ["Psalm"]
}action "Psalm" {
uses = "docker://mickaelandrieu/psalm-ga"
secrets = ["GITHUB_TOKEN"]
}
```_to add specific arguments:_
```diff
workflow "Main" {
on = "push"
resolves = ["Psalm"]
}action "Psalm" {
uses = "docker://mickaelandrieu/psalm-ga"
secrets = ["GITHUB_TOKEN"]
+ args = "--find-dead-code --threads=8 --diff --diff-methods"
}
```**You can copy/paste the .github folder (under examples/) to your project and thats all!**
## Docker
A Docker-Image is built automatically and located here:
https://cloud.docker.com/u/mickaelandrieu/repository/docker/mickaelandrieu/psalm-gaYou can run it in any given directory like this:
`docker run --rm -it -w=/app -v ${PWD}:/app mickaelandrieu/psalm-ga:latest`