Skip to content

Commit

Permalink
adding composer cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoman committed Dec 22, 2023
1 parent e97988c commit 150976c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ on: [push]
jobs:
phpstan:
runs-on: ubuntu-latest
name: PHPStan (php-actions)
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
- uses: php-actions/phpstan@v3
- name: PHPStan
uses: php-actions/phpstan@v3
with:
command: composer install
configuration: tests/ci/phpstan.neon
path: .

0 comments on commit 150976c

Please sign in to comment.