Merge pull request #7539 from yuxiang-zhang/update-layout #780
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cache Dependencies | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
cache-dependencies: | |
name: Cache dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Go modules | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 | |
with: | |
path: | | |
~/.cache/go-build/ | |
~/go/pkg/mod/ | |
key: go-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
go- |