Skip to content

Commit

Permalink
added go module cache
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanHnter authored Apr 24, 2024
1 parent 083bd40 commit 5a9f843
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
with:
go-version: '1.21'

- name: Cache Go Modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup GOPRIVATE
run: go env -w GOPRIVATE=github.com/CoreViewInc/CoreNiko

Expand Down

0 comments on commit 5a9f843

Please sign in to comment.