Merge pull request #419 from findologic/SSP-150_the_category_filter_m… #262
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: Lint PHP | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [ '8.2', '8.3' ] | |
name: Code linting (PHP ${{ matrix.php-versions }}) | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP with Composer 2 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring, dom | |
coverage: xdebug | |
tools: composer:v2 | |
- name: Validate dependencies | |
run: composer validate | |
- name: Install dependencies | |
run: composer install | |
- name: Run Lint | |
run: composer lint |