Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-04-05 08:54:10 +0300
committerJoas Schilling <coding@schilljs.com>2022-04-05 08:54:10 +0300
commitf23859b12b81c004d3ef0bf37a916a857ebef3eb (patch)
tree6ad2a43f2d3a58c4902815795e202108ac02707e
parent3a9a6bc76409b4c768d0fbf9cccff02c8e10fad2 (diff)
Improve matrix
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.github/workflows/lint.yml20
1 files changed, 12 insertions, 8 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index efd593b..4110b0f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -11,9 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- php-version: ['7.3', '7.4', '8.0']
+ php-version: ['7.4', '8.0']
ocp-version: ['^v21.0.0', '^v22.0.0', '^v23.0.0', 'dev-master']
- name: php${{ matrix.php-version }} lint
+ include:
+ - php-version: '7.3'
+ ocp-version: '^v21.0.0'
+ - php-version: '7.3'
+ ocp-version: '^v22.0.0'
+ - php-version: '7.3'
+ ocp-version: '^v23.0.0'
+ - php-version: '8.1'
+ ocp-version: 'dev-master'
+ name: php${{ matrix.php-version }}-ocp-${{ matrix.ocp-version }} lint
steps:
- name: Checkout
uses: actions/checkout@master
@@ -23,14 +32,9 @@ jobs:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Install dependencies
- if: ${{ matrix.php-version != '8.0' }}
- run: composer i
- - name: Install dependencies
- if: ${{ matrix.php-version == '8.0' }}
run: composer i --ignore-platform-reqs
- name: Install OCP package
- if: ${{ matrix.php-version != '7.3' }}
- run: composer require --dev --with-all-dependencies christophwurst/nextcloud:${{ matrix.ocp-version }}
+ run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}
- name: Lint
run: composer run lint