Avoid fetching partial versions when deleting packages as that requir… #625
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 Lint" | |
on: | |
- push | |
- pull_request | |
jobs: | |
tests: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v3" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "intl" | |
php-version: "8.1" | |
- name: "Lint PHP files" | |
run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f" |