Skip to content
Snippets Groups Projects
Commit 50b1dbfe authored by Psnail's avatar Psnail Committed by GitHub
Browse files

feat: Cache build dependencies on GithubActnions.

parent b7ae9d33
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,14 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v2
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 ./...
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment