Skip to content

Commit

Permalink
actions: fixed composer cache
Browse files Browse the repository at this point in the history
though it's kinda pointless on this repo anyway, since it gets built only a couple of times a year
  • Loading branch information
dktapps committed Feb 28, 2024
1 parent ed3c3a7 commit 70eacbe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
with:
php-version: ${{ matrix.php }}
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: "~/.composer/cache"
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-${{ matrix.php }}-composer-"
path: "~/.cache/composer"
key: "php-${{ matrix.php }}-composer-v2-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-${{ matrix.php }}-composer-v2-"
- name: Install dependencies
run: composer install --prefer-dist --no-interaction
- name: Run PHPStan
Expand Down

0 comments on commit 70eacbe

Please sign in to comment.