Merge branch 'PHP-8.3' #512
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: [master] | |
pull_request: | |
branches: [master] | |
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@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- name: Install checking tools | |
run: | | |
pipx install codespell | |
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.sh |