Skip to content

Update GH webhooks to use PHP ^8.2 #30

Update GH webhooks to use PHP ^8.2

Update GH webhooks to use PHP ^8.2 #30

Workflow file for this run

name: "PEST"
on:
pull_request: {}
push:
branches:
- 1.x
permissions: {}
jobs:
pest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: pcov
- id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- run: composer install --no-progress --prefer-dist --optimize-autoloader
- run: vendor/bin/pest --order-by random --compact
- uses: codecov/codecov-action@v3
with:
directory: ./coverage/
flags: unittests