Skip to content

Commit

Permalink
Try to cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vykulakov committed Dec 15, 2019
1 parent 51b9b8f commit c8f1514
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: go get -v -t -d ./...

Expand Down

0 comments on commit c8f1514

Please sign in to comment.