diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-04-05 04:52:44 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-04-05 04:52:44 +0300 |
commit | 82ff352fece71d978d446d2bb41bf7d34d368966 (patch) | |
tree | 72883d65072178b004510613b68777da00153887 | |
parent | 83c703ccc9b5aa8d4ac5265d682dd71f15a19332 (diff) |
Ignore christophwurst/nextcloud requirement for PHP ^7.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r-- | .github/workflows/lint.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2d07d1c..260c052 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,21 +11,25 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.3', '7.4', '8.0'] + php-version: ['7.3', '7.4', '8.0'] ocp-version: ['^v21.0.0', '^v22.0.0', '^v23.0.0', 'dev-master'] - name: php${{ matrix.php-versions }} lint + name: php${{ matrix.php-version }} lint steps: - name: Checkout uses: actions/checkout@master - name: Set up php${{ matrix.php-versons }} uses: shivammathur/setup-php@master with: - php-version: ${{ matrix.php-versions }} + 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-versions != '7.3' }} + if: ${{ matrix.php-version != '7.3' }} run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }} - name: Lint run: composer run lint |