Skip to content

Start documenting some of the callbacks. #58

Start documenting some of the callbacks.

Start documenting some of the callbacks. #58

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Tests
on:
push:
branches:
- 'develop'
- 'trunk'
pull_request:
branches:
- '**'
jobs:
build:
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
fail-fast: false
name: PHP Coding Standards
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@2.19.1
with:
php-version: ${{ matrix.php }}
ini-file: development
coverage: none
- name: Debugging
run: |
php --version
php -m
- name: Get Composer Cache Directory
id: composer-cache-dir
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache PHP Dependencies
id: composer-cache
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }}
- name: Install PHP Dependencies
run: |
composer update --prefer-dist --no-progress --no-interaction
- name: Run the tests
run: |
composer test