aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-11-12 11:39:56 +0100
committerprovokateurin <kate@provokateurin.de>2024-11-12 11:46:13 +0100
commit72571a19dd664c5cc79171369700d412d46c0e52 (patch)
tree9bb6a1ef6337868d73d002ac11c63bdc706b1a5c /.github
parent17659d327ac2d6d62405ca489fb0f1432c4e03e4 (diff)
downloadnextcloud-server-72571a19dd664c5cc79171369700d412d46c0e52.tar.gz
nextcloud-server-72571a19dd664c5cc79171369700d412d46c0e52.zip
build(psalm): Configure unstable namespacebuild/psalm/unstable-namespace
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/static-code-analysis.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml
index f2efe3ea70e..c259a2b0868 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -111,3 +111,29 @@ jobs:
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
+
+ static-code-analysis-ncu:
+ runs-on: ubuntu-latest
+
+ if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
+ with:
+ submodules: true
+
+ - name: Set up php
+ uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
+ with:
+ php-version: '8.1'
+ extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
+ coverage: none
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Composer install
+ run: composer i
+
+ - name: Psalm
+ run: composer run psalm:ncu -- --threads=1 --monochrome --no-progress --output-format=github