Skip to content

Commit

Permalink
gha: add cache-dependency-path to lint-golang.yml
Browse files Browse the repository at this point in the history
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 d9867d7)
  • Loading branch information
andrewhsu committed Sep 23, 2024
1 parent af4adad commit 3f18bc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3f18bc7

Please sign in to comment.