Skip to content

[TASK] Update composer.lock #287

[TASK] Update composer.lock

[TASK] Update composer.lock #287

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
tests:
name: Tests (PHP ${{ matrix.php-version }}, Composer ${{ matrix.composer-version }} & ${{ matrix.dependencies }} dependencies)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ["8.1", "8.2", "8.3"]
composer-version: ["2.7"]
dependencies: ["locked", "highest", "lowest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Prepare environment
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v${{ matrix.composer-version }}
coverage: none
# Install dependencies
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
# Run tests
- name: Run tests
run: composer test