mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6.0.1...de0fac2e4500dabe0009e67214ff5f5447ce83dd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
827 B
YAML
35 lines
827 B
YAML
name: PHP Deprecation Detector
|
|
# See https://github.com/wapmorgan/PhpDeprecationDetector
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'php/**'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'php/**'
|
|
|
|
jobs:
|
|
phpdd:
|
|
name: PHP Deprecation Detector
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Set up php
|
|
uses: shivammathur/setup-php@7bf05c6b704e0b9bfee22300130a31b5ea68d593 # v2
|
|
with:
|
|
php-version: 8.4
|
|
extensions: apcu
|
|
coverage: none
|
|
|
|
- name: Run script
|
|
run: |
|
|
set -x
|
|
cd php
|
|
composer install
|
|
composer run php-deprecation-detector | tee -i ./phpdd.log
|
|
if grep "Total issues:" ./phpdd.log; then
|
|
exit 1
|
|
fi
|