blancks/fast-jsonpatch-php

View on GitHub
.github/workflows/phpstan.yml

Summary

Maintainability
Test Coverage
name: phpstan

on: push

jobs:
  test:
    name: "PHPStan (PHP ${{ matrix.php-versions }})"
    runs-on: ubuntu-latest

    strategy:
      matrix:
        php-versions: ["8.1"]

    steps:
      - name: Checkout Code
        uses: actions/checkout@v2

      - name: Install PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: "${{ matrix.php-versions }}"

      - name: Install Composer
        run: composer update --no-progress --prefer-dist --optimize-autoloader

      - name: Run Tests
        run: composer run-script static-analyse