Skip to content

Sync wordy

Sync wordy #1362

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.4]
os: [ubuntu-24.04]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f
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