Skip to content

Commit 910243d

Browse files
committed
PHPLIB-1435: Integrate static analysis for releases
1 parent 32d5ee0 commit 910243d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/static-analysis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
- "v*.*"
1313
- "master"
1414
- "feature/*"
15+
tags:
16+
- "*"
1517

1618
env:
1719
PHP_VERSION: "8.2"
@@ -60,11 +62,10 @@ jobs:
6062
- name: "Run Psalm"
6163
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc) --report=psalm.sarif"
6264

65+
- name: "Upload sarif report"
66+
uses: "github/codeql-action/upload-sarif@v3"
67+
with:
68+
sarif_file: psalm.sarif
69+
6370
- name: "Run Rector"
6471
run: "vendor/bin/rector --ansi --dry-run"
65-
66-
- name: "Upload Psalm report"
67-
uses: actions/upload-artifact@v4
68-
with:
69-
name: psalm.sarif
70-
path: psalm.sarif

0 commit comments

Comments
 (0)