.github/workflows/main.yml
name: CI
on: [push]
jobs:
build:
name: PHP ${{ matrix.php }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
php: [ 7.3, 7.4, 8.0 ]
os: [ ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
- uses: php-actions/composer@master
- name: PHP spec
uses: php-actions/phpspec@master
with:
config: phpspec.yml