Skip to content

Commit

Permalink
psalm github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Dec 6, 2023
1 parent 4215a8d commit 608a09f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/psalm-php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Psalm Static analysis

on: [push, pull_request]

jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Psalm
uses: docker://ghcr.io/psalm/psalm-github-actions:latest
with:
security_analysis: true
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

0 comments on commit 608a09f

Please sign in to comment.