Skip to content

Commit

Permalink
chore(ci): add cache-dependency-path
Browse files Browse the repository at this point in the history
Signed-off-by: Lam Tran <[email protected]>
  • Loading branch information
tranngoclam authored and Lam Tran committed Oct 31, 2023
1 parent 35678b9 commit 094421b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version-file: ${{ matrix.dir }}/go.mod
cache-dependency-path: ${{ matrix.dir }}/go.sum
cache: true
- run: |
go work sync
go test -v ${{ matrix.dir }}/...

0 comments on commit 094421b

Please sign in to comment.