Add support for first-class callable syntax in cast attribute #193
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |