Major refactor #38
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: 'pull-request' | |
on: | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code 🛒 | |
uses: actions/checkout@v4 | |
id: code-checkout | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: "mbstring, gd, bcmath, bz2" | |
- name: Validate composer.json and composer.lock 🎼 | |
id: composer-validate | |
run: composer validate | |
- name: PHPCS checker 🧹 | |
id: php-codesniffer | |
run: make lint |