Skip to content

adding composer cache #4

adding composer cache

adding composer cache #4

Workflow file for this run

on: [push]
jobs:
phpstan:
runs-on: ubuntu-latest
name: PHP Validation
steps:
- uses: actions/checkout@v3
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
- name: PHPStan
uses: php-actions/phpstan@v3
with:
configuration: tests/ci/phpstan.neon
path: .