Skip to content

Bump shivammathur/setup-php from 2.31.1 to 2.32.0 (#871) #1211

Bump shivammathur/setup-php from 2.31.1 to 2.32.0 (#871)

Bump shivammathur/setup-php from 2.31.1 to 2.32.0 (#871) #1211

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@9e72090525849c5e82e596468b86eb55e9cc5401
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