Skip to content

github-actions(deps): bump actions/checkout from 2.3.4 to 3.5.1 #120

github-actions(deps): bump actions/checkout from 2.3.4 to 3.5.1

github-actions(deps): bump actions/checkout from 2.3.4 to 3.5.1 #120

Workflow file for this run

name: Tests PHP
on: [push]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0']
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout code
uses: actions/checkout@v3.5.1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- 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@v3.2.5
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
working-directory: src/php
- name: Run tests
run: composer test
working-directory: src/php