Browse Source

CI: avoid conflict with pkg/build cache in golangci-lint action (#2123)

mmetc 2 years ago
parent
commit
86971da274
2 changed files with 8 additions and 0 deletions
  1. 4 0
      .github/workflows/go-tests-windows.yml
  2. 4 0
      .github/workflows/go-tests.yml

+ 4 - 0
.github/workflows/go-tests-windows.yml

@@ -75,3 +75,7 @@ jobs:
         version: v1.51
         version: v1.51
         args: --issues-exit-code=1 --timeout 10m
         args: --issues-exit-code=1 --timeout 10m
         only-new-issues: false
         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

+ 4 - 0
.github/workflows/go-tests.yml

@@ -159,3 +159,7 @@ jobs:
         version: v1.51
         version: v1.51
         args: --issues-exit-code=1 --timeout 10m
         args: --issues-exit-code=1 --timeout 10m
         only-new-issues: false
         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