Skip to content

Commit c6b1edd

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
chore: update psalm workflow
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> [skip ci]
1 parent fa8cb6a commit c6b1edd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/psalm.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# https://github.com/nextcloud/.github
44
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
58

69
name: Static analysis
710

@@ -17,6 +20,9 @@ concurrency:
1720
group: psalm-${{ github.head_ref || github.run_id }}
1821
cancel-in-progress: true
1922

23+
permissions:
24+
contents: read
25+
2026
jobs:
2127
static-analysis:
2228
runs-on: ubuntu-latest
@@ -32,11 +38,13 @@ jobs:
3238
php-version: 8.1
3339
coverage: none
3440
ini-file: development
41+
# Temporary workaround for missing pcntl_* in PHP 8.3
42+
ini-values: disable_functions=
3543
env:
3644
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3745

3846
- name: Install dependencies
3947
run: composer i
4048

4149
- name: Run coding standards check
42-
run: composer run psalm
50+
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github

0 commit comments

Comments
 (0)