Skip to content

Commit

Permalink
adding caching (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azfaar Qureshi authored Dec 18, 2020
1 parent 605ae3e commit 723676e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ jobs:
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Restore module cache
uses: actions/cache@v2
env:
cache-name: cache-go-modules
with:
path: /home/runner/go/pkg/mod
key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('./go.mod') }}
- name: Install tools
run: make install-tools
- name: Upload tool binaries
Expand Down

0 comments on commit 723676e

Please sign in to comment.