Skip to content

Commit

Permalink
add caching for go modules (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarchie committed Jul 10, 2021
1 parent 812e642 commit abcfad1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -14,4 +14,12 @@ jobs:
with:
go-version: ${{ matrix.version }}
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: make test

0 comments on commit abcfad1

Please sign in to comment.