From d4abd817f3df757901bb7f0a6de7dd8027f579c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20B=C4=99za?= Date: Wed, 2 Apr 2025 15:27:05 +0200 Subject: [PATCH] Update caching doc --- docs/adrs/0000-caching-dependencies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/adrs/0000-caching-dependencies.md b/docs/adrs/0000-caching-dependencies.md index 3f80d61..6a4aebe 100644 --- a/docs/adrs/0000-caching-dependencies.md +++ b/docs/adrs/0000-caching-dependencies.md @@ -17,8 +17,8 @@ We don't pursue the goal to provide wide customization of caching in scope of `a # Decision - Add `cache` input parameter to `actions/setup-go`. For now, input will accept the following values: - - `true` - enable caching for go dependencies - - `false`- disable caching for go dependencies. This value will be set as default value + - `true` - enable caching for go dependencies. This is the default value. + - `false`- disable caching for go dependencies. - Cache feature will be disabled by default to make sure that we don't break existing customers. We will consider enabling cache by default in next major releases - Action will try to search a go.sum files in the repository and throw error in the scenario that it was not found - The hash of found file will be used as cache key (the same approach like [actions/cache](https://github.com/actions/cache/blob/main/examples.md#go---modules) recommends)