diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da5eadb..bcc924c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,15 @@ jobs: php: 8.1 steps: - - uses: actions/checkout@v2 - - name: Install composer dependencies - run: composer require "illuminate/support:^${{ matrix.laravel }}.0" - - name: Run tests - run: vendor/bin/pest + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '${{ matrix.php }}' + - name: Install composer dependencies + uses: actions/checkout@v2 + run: composer require "illuminate/support:^${{ matrix.laravel }}.0" + - name: Run tests + run: vendor/bin/pest phpstan: name: Static analysis (PHPStan)