refactor: Apply code best practices PHP8+ #1354
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: MIT | |
name: composer check | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- stable* | |
jobs: | |
composer: | |
runs-on: ubuntu-latest | |
name: composer install check | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install dependencies | |
uses: php-actions/composer@v5 | |
with: | |
php_version: 8.0 | |
version: 1 | |
args: -d ./3rdparty/ | |
- name: ensure no changes | |
run: git diff-index HEAD |