Skip to content

Commit

Permalink
Setup Psalm Sarif Exporter (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen authored Oct 10, 2024
1 parent 1d1ad2d commit 0c57bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/part_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ jobs:
- name: Install Deps
run: composer install --prefer-dist
- name: Run Psalm
run: composer run test:lint
run: composer run test:lint -- --report=results.sarif
- name: "Upload SARIF"
uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3
with:
sarif_file: results.sarif

php-cs:
name: Run PHP-CS
Expand Down
1 change: 1 addition & 0 deletions results.sarif
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"2.1.0","$schema":"https:\/\/json.schemastore.org\/sarif-2.1.0.json","runs":[{"tool":{"driver":{"name":"Psalm","informationUri":"https:\/\/psalm.dev","version":"5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0"}},"results":[]}]}

0 comments on commit 0c57bbd

Please sign in to comment.