diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-03-08 21:55:28 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-11 09:19:22 +0100 |
commit | 672428453a7db72b57fa5f5e8b5293208127e206 (patch) | |
tree | 70c70bf70513e049eb0e12be28dc950cd4a1b52a /.github/workflows/lint-php-cs.yml | |
parent | 2303fdb02b3c991254c4ac231fbd454e13f489aa (diff) |
chore: update workflows from templates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to '.github/workflows/lint-php-cs.yml')
-rw-r--r-- | .github/workflows/lint-php-cs.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index bfdcb1460..1ffee7801 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -24,10 +24,14 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up php8.2 - uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2 + - name: Get php version + id: versions + uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1 + + - name: Set up php${{ steps.versions.outputs.php-available }} + uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2 with: - php-version: 8.2 + 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 |