diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-11-29 12:01:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 12:01:07 +0100 |
commit | bcb8b85fc63f04fcbb3b97ce3acf661e74ddb006 (patch) | |
tree | f8956e9eb8befbdba0ccd0a99967d76ac2fe86b3 /.github | |
parent | a4c3e0c4a07f1b5204b9bff100c1e10918a1214e (diff) | |
parent | 72571a19dd664c5cc79171369700d412d46c0e52 (diff) | |
download | nextcloud-server-bcb8b85fc63f04fcbb3b97ce3acf661e74ddb006.tar.gz nextcloud-server-bcb8b85fc63f04fcbb3b97ce3acf661e74ddb006.zip |
Merge pull request #49224 from nextcloud/build/psalm/unstable-namespace
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-code-analysis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 4b2243925eb..dd41b97e13b 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 |