GitHub actions: fix warning: restore cache failed

This commit is contained in:
Andreas Deininger
2024-03-18 00:01:24 +01:00
parent a885755409
commit cedee2910a
2 changed files with 3 additions and 5 deletions

View File

@@ -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:

View File

@@ -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