From 32ca599ad2d8d2a2aec12d9e04031fa1fb3f1373 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Tue, 19 Nov 2024 19:46:28 +0100 Subject: [PATCH] fix: set up minimum supported instead of available php version Signed-off-by: Richard Steinmetz --- workflow-templates/lint-php-cs.yml | 4 ++-- workflow-templates/psalm.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow-templates/lint-php-cs.yml b/workflow-templates/lint-php-cs.yml index e42c27c..f1cb859 100644 --- a/workflow-templates/lint-php-cs.yml +++ b/workflow-templates/lint-php-cs.yml @@ -31,10 +31,10 @@ jobs: id: versions uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1 - - name: Set up php${{ steps.versions.outputs.php-available }} + - name: Set up php${{ steps.versions.outputs.php-min }} uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1 with: - php-version: ${{ steps.versions.outputs.php-available }} + php-version: ${{ steps.versions.outputs.php-min }} 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 diff --git a/workflow-templates/psalm.yml b/workflow-templates/psalm.yml index 783170e..ef6ab34 100644 --- a/workflow-templates/psalm.yml +++ b/workflow-templates/psalm.yml @@ -27,10 +27,10 @@ jobs: id: versions uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1 - - name: Set up php${{ steps.versions.outputs.php-available }} + - name: Set up php${{ steps.versions.outputs.php-min }} uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1 with: - php-version: ${{ steps.versions.outputs.php-available }} + php-version: ${{ steps.versions.outputs.php-min }} 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