summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-06-07 11:46:40 +0200
committerLouis Chemineau <louis@chmn.me>2023-06-07 11:46:40 +0200
commit5aa3efeda46940e237f338c60f63489c1304fa1d (patch)
tree04ef6880405dcb57331484af92d2f096d90981e4
parentc90652d310c204605f675c6663de5d208b6485ab (diff)
Use psalm instead of psalm-matrix
Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r--.github/workflows/psalm.yml (renamed from .github/workflows/psalm-matrix.yml)24
1 files changed, 2 insertions, 22 deletions
diff --git a/.github/workflows/psalm-matrix.yml b/.github/workflows/psalm.yml
index 192fcc13..7be48f26 100644
--- a/.github/workflows/psalm-matrix.yml
+++ b/.github/workflows/psalm.yml
@@ -20,13 +20,8 @@ concurrency:
jobs:
static-analysis:
runs-on: ubuntu-latest
- strategy:
- # do not stop on another job's failure
- fail-fast: false
- matrix:
- ocp-version: [ 'dev-master', 'dev-stable27', 'dev-stable26', 'dev-stable25']
- name: Nextcloud ${{ matrix.ocp-version }}
+ name: Nextcloud
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
@@ -34,7 +29,7 @@ jobs:
- name: Set up php
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
- php-version: 8.0
+ php-version: 8.1
coverage: none
ini-file: development
env:
@@ -43,20 +38,5 @@ jobs:
- name: Install dependencies
run: composer i
- - name: Install dependencies
- run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} --ignore-platform-reqs --with-dependencies
-
- name: Run coding standards check
run: composer run psalm
-
- summary:
- runs-on: ubuntu-latest
- needs: static-analysis
-
- if: always()
-
- name: static-psalm-analysis-summary
-
- steps:
- - name: Summary status
- run: if ${{ needs.static-analysis.result != 'success' }}; then exit 1; fi