Skip to content

Commit

Permalink
add phpstan and php-cs-fixer cache to workflowa
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Mar 2, 2024
1 parent 390975d commit 44c6427
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ jobs:
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-

- name: PHPStan cache
uses: actions/cache@v4
with:
path: .cache/phpstan
key: phpstan-${{ github.sha }}
restore-keys: phpstan-

- name: Install Composer dependencies
run: composer install

Expand Down Expand Up @@ -101,6 +108,13 @@ jobs:
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-

- name: PHP-CS-Fixer cache
uses: actions/cache@v4
with:
path: .cache/.php-cs-fixer.cache
key: php-cs-fixer-${{ github.sha }}
restore-keys: php-cs-fixer-

- name: Install Composer dependencies
run: composer install

Expand Down

0 comments on commit 44c6427

Please sign in to comment.