Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9da5f4
commit e2b2c9c
Showing
2 changed files
with
26 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Psalm – Static Analysis for PHP | ||
# v1.1.2 | ||
# <https://github.com/marketplace/actions/psalm-static-analysis-for-php?version=1.1.2> | ||
|
||
name: Static Analysis for PHP | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
psalm: | ||
name: Psalm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Psalm | ||
uses: docker://vimeo/psalm-github-actions | ||
with: | ||
security_analysis: true | ||
report_file: results.sarif | ||
|
||
- name: Upload Security Analysis results to GitHub | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: results.sarif |