name: CI

on: [push, pull_request]

jobs:
  run:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php: [7.3, 7.4, 8.0]

    name: PHP ${{ matrix.php }}

    steps:
      - uses: actions/checkout@v2
      - uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          coverage: xdebug
      - run: composer install --prefer-dist --no-interaction
      - run: vendor/bin/phpunit --coverage-text
      - run: vendor/bin/phpcs --standard=PSR12 --colors -n src tests

name: CI

on: [push, pull_request]

jobs:
  run:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php: [7.4, 8.0]

    name: PHP ${{ matrix.php }}

    steps:
      - uses: actions/checkout@v2
      - uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          coverage: xdebug
      - run: composer install --prefer-dist --no-interaction
      - run: vendor/bin/phpunit --coverage-text
      - run: vendor/bin/phpcs --standard=PSR12 --colors -n src tests

Remove php 7.3 from test
Remove php 7.3 from test
