Skip to content

Bump actions/checkout from 3 to 4 #78

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #78

Workflow file for this run

name: example-app
on: push
defaults:
run:
working-directory: ./examples/random-app-example
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['8.2', '8.1', '8.0', '7.4']
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@2.25.1
with:
php-version: ${{ matrix.php }}
extensions: zip, curl
- name: Update composer
run: composer selfupdate
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit