aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2021-10-03 19:48:11 +0200
committerGitHub <noreply@github.com>2021-10-03 19:48:11 +0200
commitfd77949bfc6654feb9e36e1783575e886297f162 (patch)
tree5f059991622608797a60a3fa0153ac45200c0341
parent74abfce690449aa21db81033897765eb2e582d33 (diff)
downloadnextcloud-server-fd77949bfc6654feb9e36e1783575e886297f162.tar.gz
nextcloud-server-fd77949bfc6654feb9e36e1783575e886297f162.zip
[stable21] Change output format of Psalm to Github
Manual backport of https://github.com/nextcloud/server/pull/29044 Signed-off-by: MichaIng <micha@dietpi.com>
-rw-r--r--.github/workflows/static-code-analysis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml
index 4057adbe8d7..a1bbcdb84c7 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -21,7 +21,7 @@ jobs:
- name: Composer install
run: composer i
- name: Psalm
- run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
+ run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
@@ -46,7 +46,7 @@ jobs:
- name: Composer install
run: composer i
- name: Psalm
- run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
+ run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline