瀏覽代碼

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

mmetc 2 年之前
父節點
當前提交
86971da274
共有 2 個文件被更改,包括 8 次插入0 次删除
  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
         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

+ 4 - 0
.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