Skip to content

Make the cpx cache layer atomic and concurrent-safe #14

Make the cpx cache layer atomic and concurrent-safe

Make the cpx cache layer atomic and concurrent-safe #14

Workflow file for this run

name: tests
on:
push:
branches:
- main
- 1.x
- 2.x
pull_request:
branches:
- main
- 1.x
- 2.x
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.3', '8.4', '8.5']
steps:
- name: Checkout Code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
coverage: none
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Run Static Analysis
run: composer analyse
- name: Run Lint Check
run: composer lint:check
- name: Run Type Coverage
run: composer test:types
- name: Run Unit Tests
run: composer test:unit