Fix globbing inconsistencies #1054
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: Run code style checks | |
on: | |
push: | |
branches: [PHP-8.3] | |
pull_request: | |
branches: [PHP-8.3] | |
jobs: | |
check: | |
name: Check code style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: php-cs-fixer | |
- name: Install checking tools | |
run: | | |
pipx install codespell | |
pipx install gersemi | |
curl -OL https://github.com/petk/normalizator/releases/latest/download/normalizator.phar | |
chmod +x normalizator.phar | |
mv normalizator.phar /usr/local/bin/normalizator | |
- name: Run checks | |
run: ./bin/check-cmake.php | |
- name: Run PHP CS Fixer | |
run: php-cs-fixer check --diff --rules=@Symfony,@PER-CS --using-cache=no -- bin |