name: Tests

on: [push]

jobs:
  run:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        php: ['7.4', '8.0', '8.1']
    name: Testing on PHP ${{ matrix.php }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          extensions: mbstring,bcmath
          tools: composer

      - name: Install PHP dependencies
        run: composer install -q

      - name: Run phpunit
        run: vendor/bin/phpunit

      - name: Run phpstan
        run: composer require --dev illuminate/support && vendor/bin/phpstan analyze --no-progress --autoload-file=tests/phpstan/bootstrap.php --level=5 src/

name: Tests

on: [push]

jobs:
  run:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        php: ['8.0', '8.1']
    name: Testing on PHP ${{ matrix.php }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          extensions: mbstring,bcmath
          tools: composer

      - name: Install PHP dependencies
        run: composer install -q

      - name: Run phpunit
        run: vendor/bin/phpunit

      - name: Run phpstan
        run: composer require --dev illuminate/support && vendor/bin/phpstan analyze --no-progress --autoload-file=tests/phpstan/bootstrap.php --level=5 src/

Remove PHP 7.4 from testing workflow
Remove PHP 7.4 from testing workflow
