Is GoLang safe to use partial cache restoration with CircleCI?

196 Views Asked by At

Is GoLang Safe to Use Partial Cache Restoration with CircleCI?

The CircleCI official documentation (https://circleci.com/docs/2.0/caching/) shows that these languages are safe (some with conditions), but I was not able to find GoLang in the doc, tried googling but nothing much. None of the examples I found are using partial cache restoration. So I ended up here asking if it is safe. Can anyone help?

Safe to use partial cache restoration?

Bundler(Ruby)      Yes (with caution)
Gradle(Java)       Yes
Maven(Java)        Yes
Leiningen(Clojure) Yes
npm(Node)          Yes (with NPM5+)
pip(Python)        Yes (with pipenv)
Yarn(Node)         Yes
2

There are 2 best solutions below

1
CandiedCode On

In their golang example, they are using cache restoration.

1
tomy0608 On

I think the answer is Yes

see this post for your information?