You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Psalm – Security Scanner for PHP
1.1.0
Run Psalm’s Security Analysis as a Github action (a more general version can be found here).
name: Static analysis
on: [push, pull_request]
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Psalm Security Scan
uses: docker://vimeo/psalm-github-security-scan
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
You can also specify a version.
- uses: docker://vimeo/psalm-github-security-scan
+ uses: docker://vimeo/psalm-github-security-scan:4.2.0