Skip to content

Bump friendsofphp/php-cs-fixer from 3.35.1 to 3.45.0 #1981

Bump friendsofphp/php-cs-fixer from 3.35.1 to 3.45.0

Bump friendsofphp/php-cs-fixer from 3.35.1 to 3.45.0 #1981

Workflow file for this run

name: "Tests"
on:
pull_request:
push:
branches:
- main
tags:
- "**"
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
php-version: [8.1]
experimental: [false]
include:
- os: ubuntu-20.04
php-version: 8.2
experimental: true
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml, ctype, iconv
coverage: none
tools: composer
- uses: "ramsey/composer-install@v2"
- name: "Run tests"
run: make tests
infection:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-20.04
php-version: 8.1
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml, ctype, iconv
coverage: xdebug
tools: composer
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-
- name: "Run infection"
run: make infection
deptrac:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
php-version: [8.1]
experimental: [false]
include:
- os: ubuntu-20.04
php-version: 8.2
experimental: true
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml, ctype, iconv
coverage: none
tools: composer
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-
composer-${{ runner.os }}-
composer-
- name: "Install dependencies with composer"
run: make composer-install
- name: "Run deptrac"
run: make deptrac