Skip to content

chore(deps): bump github/codeql-action from 3.26.5 to 3.26.8 #248

chore(deps): bump github/codeql-action from 3.26.5 to 3.26.8

chore(deps): bump github/codeql-action from 3.26.5 to 3.26.8 #248

Workflow file for this run

name: 🧪 Test
on:
push:
branches:
- 'master'
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ["8.3"]
name: ⚙️ Running test for PHP ${{ matrix.php }}
steps:
- name: 📥 Checkout code
uses: actions/checkout@v4
- name: 🧰 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: ✅ Validate composer.json and composer.lock
run: composer validate --strict
- name: 📦 Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: 📥 Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: 🔍 Check php-cs-fixer
run: composer php-cs-fixer-dry-run
- name: ✅ PHPUnit tests
run: vendor/bin/phpunit -c phpunit.xml --coverage-clover clover.xml
- name: 📝 PHPStan check
run: vendor/bin/phpstan analyse src -l 9
- name: 📤 Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: matrix.php == '8.1'