Skip to content

Fixes to GitHub actions #11

Fixes to GitHub actions

Fixes to GitHub actions #11

Workflow file for this run

name: PHP CS Fixer

Check failure on line 1 in .github/workflows/php-cs-fixer.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/php-cs-fixer.yml

Invalid workflow file

(Line: 17, Col: 15): Unrecognized named-value: 'php-version'. Located at position 1 within expression: php-version
on: [push, pull_request]
jobs:
php-cs-fixer:
name: PHP CS Fixer ${{ matrix.php-versions }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.3', '8.4']
steps:
- uses: actions/checkout@v3
- name: PHP-CS-Fixer
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php${{ php-version }}
with:
php-version: ${{ matrix.php-versions }}