Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecassary caching of of golangci-lint
golangci-lint step auto caches the binary. Explicit caching step is not needed anymore. Refer to https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#internals Of course, we could cache a specific version of golangci-lint instead of go.mod hash. But effort to create that logic outweighs its impact. However, golangci-lint.cache-{runner_os}-{working_directory}-{interval_number}-{go.mod_hash} has its advantages; it updates itself with go.mod changes. We delete older caches using auto delete cache workflow.
- Loading branch information