Merge pull request #7628 from yuxiang-zhang/tune-drafter #802
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@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 | |
with: | |
path: | | |
~/.cache/go-build/ | |
~/go/pkg/mod/ | |
key: go-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
go- |