Support diversified remote cache with hash value(like PODFILE CHECKSUM in Podfile.lock) #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
bundle exec rspec
from the root directory to run my changes against rspec testsbundle exec rubocop
to check code styleDescription
(Related Issue : #46)
Remote cache is very useful to sync pods among developer machines & build machines, but there is a problem when we needs various cache.
Swift versions can be various(like 5.3.1 & 5.4), Pod composition or prebuild setup can be various between master and other branches. That's why we needs diversified remote caches for seamless adoption of this library for multi environment and machines.
actions/cache
inGitHub Actions
support this feature withkey
like below and it's useful.With this change, user programmers can cache specific state with composited key with hash value like
PODFILE CHECKSUM
inPodfile.lock
which is used for remote branch name like below:Changes