From 466f4a54b5f80f6a68310d923649f841ed009f49 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Thu, 22 Feb 2024 18:28:06 +0300 Subject: [PATCH] Disable the golangci-lint-action's own Go mod & Go build caches - We already manage a Go mod & build cache. Use this cache instead. This should prevent the occasional tar errors we observe for these cache files. Signed-off-by: Alper Rifat Ulucinar --- .github/workflows/provider-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/provider-ci.yml b/.github/workflows/provider-ci.yml index 0162cd0..bb12173 100644 --- a/.github/workflows/provider-ci.yml +++ b/.github/workflows/provider-ci.yml @@ -118,6 +118,12 @@ jobs: with: version: ${{ inputs.golangci-version }} args: --timeout=30m + # we manage the mod cache with the same key across different jobs. + # no need for the lint action to manage its own Go mod cache. + skip-pkg-cache: true + # we manage the build cache with the same key across different jobs. + # no need for the lint action to manage its own Go build cache. + skip-build-cache: true check-diff: runs-on: ubuntu-22.04