Skip to content

🚀 Initial release: EnvValidator v1.0.0 - Modern PHP environment valid… #1

🚀 Initial release: EnvValidator v1.0.0 - Modern PHP environment valid…

🚀 Initial release: EnvValidator v1.0.0 - Modern PHP environment valid… #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.2, 8.3]
laravel: [11.*, 12.*]
include:
- laravel: 12.*
testbench: 10.*
- laravel: 11.*
testbench: 9.*
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: dom, curl, libxml, mbstring, zip
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/pest
- name: Run PHPStan
run: vendor/bin/phpstan analyse
- name: Check code style
run: vendor/bin/pint --test