Skip to content

fixup! Add cs phpstan github-actions #4

fixup! Add cs phpstan github-actions

fixup! Add cs phpstan github-actions #4

Workflow file for this run

name: PHP Unit tests
on:
pull_request:
push:
branches: [ "*" ]
schedule:
- cron: "0 8 * * 1"
jobs:
test82:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate
with:

Check failure on line 21 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / PHP Unit tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 21, Col: 9): Unexpected value 'with' .github/workflows/tests.yml (Line: 36, Col: 9): Unexpected value 'with'
php-version: '8.2'
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
php-version: '8.2'
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
with:
php-version: '8.2'
- name: Run tests
run: make tests
with:
php-version: '8.2'