Skip to content

Bump the actions group with 2 updates #64

Bump the actions group with 2 updates

Bump the actions group with 2 updates #64

Workflow file for this run

name: 'Run Tests'
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.can-fail }}
strategy:
fail-fast: true
matrix:
php: ['8.4', '8.5']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.4'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
name: "PHP ${{ matrix.php }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}" # zizmor: ignore[template-injection]
steps:
- name: Checkout Code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: curl, iconv, mbstring, session, sockets, sqlite, zip
coverage: none
- name: Install dependencies
run: composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest # zizmor: ignore[template-injection]
- name: Execute tests
run: vendor/bin/phpunit --display-deprecations