From 86971da274c9e55e1cad1acd41b91fc714be6fa0 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Mon, 20 Mar 2023 10:41:08 +0100 Subject: [PATCH] CI: avoid conflict with pkg/build cache in golangci-lint action (#2123) --- .github/workflows/go-tests-windows.yml | 4 ++++ .github/workflows/go-tests.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/go-tests-windows.yml b/.github/workflows/go-tests-windows.yml index e6e211882..1fc3e9d14 100644 --- a/.github/workflows/go-tests-windows.yml +++ b/.github/workflows/go-tests-windows.yml @@ -75,3 +75,7 @@ jobs: version: v1.51 args: --issues-exit-code=1 --timeout 10m only-new-issues: false + # the cache is already managed above, enabling it here + # gives errors when extracting + skip-pkg-cache: true + skip-build-cache: true diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 8393df1e1..bee5ff085 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -159,3 +159,7 @@ jobs: version: v1.51 args: --issues-exit-code=1 --timeout 10m only-new-issues: false + # the cache is already managed above, enabling it here + # gives errors when extracting + skip-pkg-cache: true + skip-build-cache: true