From cedee2910a373b42cea6d06c056802aa92347d20 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Mon, 18 Mar 2024 00:01:24 +0100 Subject: [PATCH] GitHub actions: fix warning: restore cache failed --- .github/workflows/goreleaser.yml | 3 +-- .github/workflows/test.yml | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index fdbdb3c..aa80f5e 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 816da6c..b0c8fb3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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