Skip to content

Merge branch 'trunk' of github.com:nielslange/smntcs-adobe-typekit-fo… #9

Merge branch 'trunk' of github.com:nielslange/smntcs-adobe-typekit-fo…

Merge branch 'trunk' of github.com:nielslange/smntcs-adobe-typekit-fo… #9

Workflow file for this run

name: Run PHPCS, PHPLint and Psalm
on: [pull_request, push]
jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
task: [phpcs, phplint, psalm]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Show version info
run: ./vendor/bin/${{ matrix.task }} --version
- name: Run ${{ matrix.task | toLowerCase() }}

Check failure on line 31 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run PHPCS, PHPLint and Psalm

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 31, Col: 15): Unexpected symbol: '|'. Located at position 13 within expression: matrix.task | toLowerCase()
run: composer ${{ matrix.task }}