mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
784 B
YAML
35 lines
784 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@v6.0.1
|
|
- 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
|