mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +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
|
- master
|
||||||
- stable*
|
- stable*
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: lint-php-${{ github.head_ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
php-lint:
|
php-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ["8.0"]
|
php-versions: ["7.4", "8.0", "8.1"]
|
||||||
|
|
||||||
name: php-lint
|
name: php-lint
|
||||||
|
|
||||||
|
|
@ -33,9 +40,11 @@ jobs:
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: cd php && composer run lint
|
run: composer run lint
|
||||||
|
|
||||||
summary:
|
summary:
|
||||||
|
permissions:
|
||||||
|
contents: none
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: php-lint
|
needs: php-lint
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue