mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Updating lint-php.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
parent
9d4c591f1a
commit
8450d7d9a5
1 changed files with 57 additions and 48 deletions
13
.github/workflows/lint-php.yml
vendored
13
.github/workflows/lint-php.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue