Update spatie/ignition requirement from ^1.13 to ^1.14 #260
Workflow file for this run
This file contains 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
# GitHub Actions Documentation: https://docs.github.com/en/actions | |
name: CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
coding-standards: | |
name: Coding Standards | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
coverage: none | |
- name: Install dependencies | |
uses: ramsey/composer-install@v3 | |
- name: Check coding standards (PHP-CS-Fixer) | |
run: composer lint:style | |
static-analysis: | |
name: Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
coverage: none | |
- name: Install dependencies | |
uses: ramsey/composer-install@v3 | |
- name: Statically analyse code (PHPStan) | |
run: composer analyse:phpstan | |
- name: Statically analyse code (Psalm) | |
run: composer analyse:psalm | |
unit-tests: | |
name: Unit Tests (PHP ${{ matrix.php-version }}) on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [8.2, 8.3] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
dependencies: [lowest, highest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: none | |
- name: Install dependencies | |
uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: ${{ matrix.dependencies }} | |
- name: Run unit tests (PHPUnit) | |
run: composer test |