Skip to content

fix(deps): update symfony packages to v7 (major) #2818

fix(deps): update symfony packages to v7 (major)

fix(deps): update symfony packages to v7 (major) #2818

name: Composer Plugin
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Test-Composer-Plugin:
runs-on: ubuntu-24.04
strategy:
matrix:
php-version: [ 8.1, 8.2, 8.3 ]
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- run: composer install
- run: ./vendor/bin/phpunit