Skip to content

Commit

Permalink
Merge pull request #21 from deining/fix-restore-cache-failed-warning
Browse files Browse the repository at this point in the history
GitHub actions: fix warning: restore cache failed
  • Loading branch information
makew0rld authored Mar 17, 2024
2 parents a885755 + cedee29 commit c26d813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
cache-dependency-path: '**/go.sum'
cache: false
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.20", "1.21"]
go-version: ["1.20", "1.21", "1.22"]
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: '**/go.sum'
cache: false
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
Expand Down

0 comments on commit c26d813

Please sign in to comment.