Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Linting & Static Analysis
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php: ["8.2"]
dependencies: ["highest"]
runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup PHP and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Install and cache Composer dependencies
uses: ramsey/composer-install@v4
with:
dependency-versions: ${{ matrix.dependencies }}

- name: Run linter
run: make lint

- name: Run static analysis
run: make static
8 changes: 1 addition & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php: ["8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]
php: ["8.0", "8.1", "8.2", "8.3", "8.4", "8.5", "8.6"]
dependencies: ["highest"]
runs-on: ${{ matrix.operating-system }}

Expand All @@ -26,15 +26,9 @@ jobs:
with:
dependency-versions: ${{ matrix.dependencies }}

- name: Run linter
run: make lint

- name: Run unit tests
run: make unit

- name: Run static analysis
run: make static

- name: Upload coverage
uses: codecov/codecov-action@v6
with:
Expand Down