Skip to content

Bump actions/checkout from 3 to 4 #21

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #21

Workflow file for this run

name: PHP Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-versions: [ '8.1', '8.2', '8.3']
phpunit-versions: [ 'latest' ]
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, curl
tools: phpunit:${{ matrix.phpunit-versions }}
- name: Install dependencies
run: |
composer install --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit