chore(deps-dev): Bump vitest from 4.1.2 to 4.1.3 #114
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2026 LibreCode Coop and LibreCode contributors | |
| # | |
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| name: Static analysis | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: psalm-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| static-analysis: | |
| runs-on: ubuntu-latest | |
| name: static-psalm-analysis | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Get php version | |
| id: versions | |
| uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.3.2 | |
| - name: Check enforcement of minimum PHP version ${{ steps.versions.outputs.php-min }} in psalm.xml | |
| run: grep 'phpVersion="${{ steps.versions.outputs.php-min }}"' psalm.xml | |
| - name: Set up php${{ steps.versions.outputs.php-available }} | |
| uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 | |
| with: | |
| php-version: ${{ steps.versions.outputs.php-available }} | |
| extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite | |
| coverage: none | |
| ini-file: development | |
| ini-values: disable_functions= | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install dependencies | |
| run: | | |
| composer remove nextcloud/ocp --dev --no-scripts | |
| composer i | |
| - name: Check for vulnerable PHP dependencies | |
| run: composer require --dev roave/security-advisories:dev-latest | |
| - name: Install nextcloud/ocp | |
| run: composer require --dev nextcloud/ocp:dev-${{ steps.versions.outputs.branches-max }} --ignore-platform-reqs --with-dependencies | |
| - name: Run Psalm | |
| run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github |