Skip to content

Commit

Permalink
go mod cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kaovilai authored Jul 12, 2022
1 parent d8ebba1 commit 3b09121
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/go-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ jobs:
- uses: actions/checkout@v3
- name: pre-req gpgme
run: sudo apt-get install libgpgme11 libgpgme-dev

- 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: Set up Go
uses: actions/setup-go@v3
with:
Expand Down

0 comments on commit 3b09121

Please sign in to comment.