rename app_ecosystem_v2 to app_api #2491
Workflow file for this run
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
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@v4 | |
- name: Set up php8.2 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: apcu | |
coverage: none | |
- name: Run script | |
run: | | |
set -x | |
cd php | |
composer global require wapmorgan/php-deprecation-detector dev-master | |
composer install | |
composer run php-deprecation-detector | tee -i ./phpdd.log | |
if grep "Total issues:" ./phpdd.log; then | |
exit 1 | |
fi |