fix: Ensure name_filter are local scoped #1164
Workflow file for this run
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: Exercise linting with PHPCS for PSR 12 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: PHPCS Linting - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [8.2] | |
os: [ubuntu-24.04] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: gmp | |
tools: composer | |
- name: Install composer packages | |
run: composer install --no-scripts | |
- name: Lint exercises | |
shell: bash | |
run: composer lint:check |