Skip to content

Commit

Permalink
github/workflows: use actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
zchee committed Dec 30, 2020
1 parent 9afa79c commit bbdb4b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ jobs:
with:
fetch-depth: 2

- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod # Module download cache
~/.cache/go-build # Build cache (Linux)
~/Library/Caches/go-build # Build cache (Mac)
'%LocalAppData%\go-build' # Build cache (Windows)
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install nvim binary
uses: rhysd/action-setup-vim@v1
with:
Expand Down

0 comments on commit bbdb4b1

Please sign in to comment.