platanus / potassium

A Rails application generator by Platanus, inspired by Suspenders
MIT License
232 stars 17 forks source link

fix(ci-config): change cache path #338

Closed difernandez closed 3 years ago

difernandez commented 3 years ago

Problem

I broke cache restore in #335 😅 . The problem was that path /usr/local/bundle couldn't be written to, so restore cache failed and the job stoped.

Solution

This PR fixes it by changing bundle path. I was trying to use vendor/bundle but it had 2 problems:

Also, cache key was changed to avoid hits with previous flawed cache.

In the latest build you can see that restore cache and tests were performed succesfully.