Skip to content

Commit

Permalink
GitHub actions: fix warning: restore cache failed
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Mar 17, 2024
1 parent d1b3ce4 commit b1c2ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
cache-dependency-path: **/go.sum
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: **/go.sum
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
Expand Down

0 comments on commit b1c2ab0

Please sign in to comment.