Updating lint-php.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
Nextcloud bot 2022-10-15 09:57:35 +00:00
parent 9d4c591f1a
commit 8450d7d9a5

View file

@ -13,12 +13,19 @@ on:
- master
- stable*
permissions:
contents: read
concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
php-lint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["8.0"]
php-versions: ["7.4", "8.0", "8.1"]
name: php-lint
@ -33,9 +40,11 @@ jobs:
coverage: none
- name: Lint
run: cd php && composer run lint
run: composer run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: php-lint