Skip to content

Commit

Permalink
Merge pull request #27 from weirdan/github-actions
Browse files Browse the repository at this point in the history
Cache Psalm cache
  • Loading branch information
weirdan authored Nov 17, 2020
2 parents b8393eb + bf9759f commit bdb8039
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
# the way cache keys are set up will always cause a cache miss
# but will restore the cache generated during the previous run
# based on partial match
- name: Retrieve Psalm's cache
uses: actions/cache@v2
with:
# we really need a way for Psalm to tell where cache is located
path: |
~/.cache/psalm
key: ${{ runner.os }}-psalm-${{ github.sha }}
restore-keys: |
${{ runner.os }}-psalm-
- name: Install composer dependencies
run: composer update --prefer-dist
env:
Expand Down

0 comments on commit bdb8039

Please sign in to comment.