Migrating from actions/checkout to namespacelabs/nscloud-checkout-action I had to remove fetch-tags: true and replace it with depth: 0.
https://namespace.so/docs/solutions/github-actions/caching advertises nscloud-checkout-action as a drop-in replacement, so that was a bit surprising. If caching is fast enough, this is probably fine, but in most cases I do not need the full history but want the available tags to see if the current commit matches a specific cache.
Related pr from actions/checkout for the fetch-tags feature to quickly poke around its implementation: actions/checkout#2356
Migrating from
actions/checkouttonamespacelabs/nscloud-checkout-actionI had to removefetch-tags: trueand replace it withdepth: 0.https://namespace.so/docs/solutions/github-actions/caching advertises nscloud-checkout-action as a drop-in replacement, so that was a bit surprising. If caching is fast enough, this is probably fine, but in most cases I do not need the full history but want the available tags to see if the current commit matches a specific cache.
Related pr from actions/checkout for the fetch-tags feature to quickly poke around its implementation: actions/checkout#2356