Skip to content

Merge pull request #91 from ans-group/psr-12-compliance #4

Merge pull request #91 from ans-group/psr-12-compliance

Merge pull request #91 from ans-group/psr-12-compliance #4

Workflow file for this run

name: Checks
on:
push:
branches:
- master
- v2.0
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
php-tests:
runs-on: ubuntu-latest
strategy:
matrix:
environment:
- php_version: 8.1
laravel_version: 10
- php_version: 8.2
laravel_version: 10
- php_version: 8.2
laravel_version: 11
- php_version: 8.3
laravel_version: 11
name: PHP ${{ matrix.environment.php_version }} & Laravel ${{ matrix.environment.laravel_version }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
php_version: ${{ matrix.environment.php_version }}
laravel_version: ${{ matrix.environment.laravel_version }}
- name: Execute tests
run: composer test
php-codesniffer:
runs-on: ubuntu-latest
name: PHP Codesniffer
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
php_version: 8.3
laravel_version: 11
- name: Run codesniffer
run: composer phpcs