Skip to content

feat(Composer): update monolog version #25

feat(Composer): update monolog version

feat(Composer): update monolog version #25

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ master, develop ]
jobs:
run:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
composer:
- ''
- '--prefer-lowest'
monolog:
- '^2.1'
- '^3.0'
include:
- php: '8.1'
monolog: '^3.0'
- php: '8.2'
monolog: '^3.0'
name: PHP ${{ matrix.php }} ${{ matrix.composer }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Set composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer
uses: actions/[email protected]
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer
- name: Install dependencies
- run: composer require monolog/monolog:${{ matrix.monolog }} && composer update ${{ matrix.composer }}