Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
build(actions): Add cache action to speed up builds (#487)
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Galvin <liam.galvin@aquasec.com>
  • Loading branch information
liamg authored Apr 7, 2022
1 parent 1206264 commit d02ccb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
with:
go-version: '1.17' # The Go version to download (if necessary) and use.
- run: go version
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run test
run: make test
shell: bash
Expand Down

0 comments on commit d02ccb3

Please sign in to comment.