Skip to content

Bowling - inline test helper functions setUp and rollMany (#944) #1401

Bowling - inline test helper functions setUp and rollMany (#944)

Bowling - inline test helper functions setUp and rollMany (#944) #1401

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@8e8c483db84b4bee98b60c0593521ed34d9990e8
- uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1
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