Enable caching by default

This commit is contained in:
Sergey Dolin 2023-02-13 14:19:59 +01:00
parent 6b848af622
commit 0cb66e4719
7 changed files with 75 additions and 6228 deletions

View file

@ -129,6 +129,8 @@ The action has a built-in functionality for caching and restoring go modules and
The action defaults to search for the dependency file - go.sum in the repository root, and uses its hash as a part of the cache key. Use `cache-dependency-path` input for cases when multiple dependency files are used, or they are located in different subdirectories.
Since 4.0.0 the cache is enabled by default.
**Caching without specifying dependency file path**
```yaml
steps: