PHPC-2433: Test PHP 8.4 on Evergreen (#1721) #1178
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: "Check generated arginfo files" | |
on: | |
pull_request: | |
branches: | |
- "v*.*" | |
- "master" | |
- "feature/*" | |
push: | |
branches: | |
- "v*.*" | |
- "master" | |
- "feature/*" | |
env: | |
PHP_VERSION: "8.2" | |
jobs: | |
check-arginfo: | |
name: "Check generated arginfo files" | |
runs-on: "ubuntu-20.04" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
submodules: true | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ env.PHP_VERSION }}" | |
- name: "Run phpize" | |
run: phpize | |
- name: "Rebuild arginfo files from stubs" | |
run: "php ./build/gen_stub.php --force-regeneration" | |
- name: "Check arginfo file diff" | |
run: git add . -N && git diff --exit-code |