From dcf2a21e84fd274fcb7ada77de85a42a67b2ad7b Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 24 Apr 2025 15:43:30 +0200 Subject: [PATCH] ci: run psalm stets with lowest compatible ocp-package - for apps the run against one major version per branch nothing changes - for apps that are compatible with multiple apps, the lowest common determinator has to be used. E.g. it fails hard against deprecations. Signed-off-by: Arthur Schiwon --- workflow-templates/psalm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/psalm.yml b/workflow-templates/psalm.yml index facd92b1..5d602b27 100644 --- a/workflow-templates/psalm.yml +++ b/workflow-templates/psalm.yml @@ -53,7 +53,7 @@ jobs: composer i - name: Install nextcloud/ocp - run: composer require --dev nextcloud/ocp:dev-${{ steps.versions.outputs.branches-max }} --ignore-platform-reqs --with-dependencies + run: composer require --dev nextcloud/ocp:dev-${{ steps.versions.outputs.branches-min }} --ignore-platform-reqs --with-dependencies - name: Run coding standards check run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github