Skip to content

Added make:dto artisan command and updated enum validation to use off… #20

Added make:dto artisan command and updated enum validation to use off…

Added make:dto artisan command and updated enum validation to use off… #20

Workflow file for this run

name: Tests
on: [push]
jobs:
php-tests:
runs-on: ubuntu-22.04
timeout-minutes: 15
env:
COMPOSER_NO_INTERACTION: 1
strategy:
fail-fast: true
matrix:
php: [8.2, 8.3]
laravel: [10, 11]
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring gd
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none
- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit