From 3f18bc7cf9a563744686c8eb8353065b136268ee Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Mon, 23 Sep 2024 00:17:45 -0500 Subject: [PATCH] gha: add cache-dependency-path to lint-golang.yml Fixes warning: > Restore cache failed: Dependencies file is not found in /home/runner/work/redpanda/redpanda. Supported file pattern: go.sum (cherry picked from commit d9867d724ccb8211494e897d749965a694f24819) --- .github/workflows/lint-golang.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint-golang.yml b/.github/workflows/lint-golang.yml index efd34518d745a..0f7dbb8adc831 100644 --- a/.github/workflows/lint-golang.yml +++ b/.github/workflows/lint-golang.yml @@ -23,6 +23,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: stable + cache-dependency-path: src/go/rpk/go.mod - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: