diff options
author | Joas Schilling <coding@schilljs.com> | 2024-09-30 23:53:53 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-09-30 23:57:15 +0200 |
commit | 95bafb49804ba893e40f3f367c55ef9b0fa9e963 (patch) | |
tree | 2869c40977db2229b6d3e697d46d5a230efee1f0 /.github | |
parent | 99d507c2593c6c60081ff16586ba3b68237ca0b0 (diff) | |
download | nextcloud-server-95bafb49804ba893e40f3f367c55ef9b0fa9e963.tar.gz nextcloud-server-95bafb49804ba893e40f3f367c55ef9b0fa9e963.zip |
ci: Improve usability of running different psalm modes locally
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-code-analysis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 83b7452ee89..1fd77dccea4 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -34,7 +34,7 @@ jobs: run: composer i - name: Psalm - run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif + run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif - name: Show potential changes in Psalm baseline if: always() @@ -66,7 +66,7 @@ jobs: run: composer i - name: Psalm taint analysis - run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis --ignore-baseline + run: composer run psalm:security -- --threads=1 --monochrome --no-progress --output-format=github --report=results.sarif - name: Upload Security Analysis results to GitHub if: always() @@ -96,7 +96,7 @@ jobs: run: composer i - name: Psalm - run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline + run: composer run psalm:ocp -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline - name: Show potential changes in Psalm baseline if: always() |