Skip to content

Commit

Permalink
Merge pull request #1761 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
action cache yml added
  • Loading branch information
ucwong authored Oct 13, 2023
2 parents 7d4e439 + 83642fe commit a19f6fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
# export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14
# go get -u golang.org/x/lint/golint
# golint ./...
- name: Cache
uses: actions/cache@v3.3.2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: submodule
run: git submodule update --init --recursive
Expand Down

0 comments on commit a19f6fd

Please sign in to comment.