Skip to content

ref: docs and tests #50

ref: docs and tests

ref: docs and tests #50

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
lint:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '8.3', '8.4' ]
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: {{ matrix.php }}

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

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 15, Col: 32): A mapping was not expected
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
- uses: actions/checkout@v4
- name: Update composer
run: composer self-update
- name: Install dependencies with composer
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
- name: test
run: composer app:test