Commit b591374
committed
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.1 parent ec7e9b0 commit b591374
1 file changed
+0
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 32 | | |
44 | 33 | | |
45 | 34 | | |
| |||
0 commit comments