Skip to content

Add support for first-class callable syntax in cast attribute #193

Add support for first-class callable syntax in cast attribute

Add support for first-class callable syntax in cast attribute #193

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ "8.5", "8.4", "8.3", "8.2", "8.1" ]
steps:
- uses: actions/checkout@v5
- name: Create .env
run: touch .env
- name: Set PHP version in .env
run: |
echo "PHP_COMPOSER=${{ matrix.php-version }}" >> .env
echo "PHP_VERSION=${{ matrix.php-version }}" >> .env
- name: Install dependencies (composer update) for PHP
run: sh dock composer update
- name: Run PHPUnit tests for PHP
run: sh dock test