Hacker GitHub

← All repos

actions/cache

View on GitHub ↗ ★ 5,591 TypeScript

Cache dependencies and build outputs in GitHub Actions

18 mentions on Hacker News by 17 people: 3 stories, 15 comments · first 2019-11-02 · latest 2026-05-12

Mentions per year 18 mentions · busiest year 2022 (7)
20082026
  1. …secure ones. Here people are trying to fix defaults - not to write cache in insecure context -> https://github.com/actions/cache/issues/1756 (even if sufficiely smart attacker would find the key somewhere and skip this kind of prodection,…
    comment by febusravenga · 2026-05-12 · in Postmortem: TanStack NPM supply-chain compromise
  2. …bunch with GitHub and Microsoft anyways, so in many of those cases, yes. Many times, I end up using https://github.com/actions/cache for the clients who already use Actions, and none of that runs in the local machines at all. Typically I…
    comment by embedding-shape · 2026-01-14 · in I hate GitHub Actions with passion
  3. https://github.com/search?q=org%3Aactions+%22we+are+allocati... i.e. from https://github.com/actions/cache/?tab=readme-ov-file#note Thank you for your interest in this GitHub repo, however, right now we are not taking contributions. We…
  4. …that you likely still want them to appear in the GitHub UI / be accessible from the GitHub API. [0] https://github.com/actions/cache/discussions/1510 [1] https://github.com/twitchtv/twirp
  5. > with no persistent storage There's https://github.com/actions/cache though?
    comment by ZeWaka · 2023-09-22 · in GitHub Actions could be so much better
  6. …entirely within the GitHub / Azure network. It looks like you can do that for Ruby by adding this: https://github.com/actions/cache/blob/master/examples.md#rub... - uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 bundler-cache: true
  7. …file instead of the commit sha. https://docs.github.com/en/actions/using-workflows/caching-d... https://github.com/actions/cache The one note here is clearing that cache/cache management isn't straight forward currently (although they are…
    comment by gabeio · 2022-09-26 · in GitHub Actions Pitfalls
  8. …[2]: https://docs.spacelift.io/concepts/stack/stack-settings#enab... [3]: https://github.com/actions/cache
    comment by cube2222 · 2022-07-03 · in The End of CI
  9. …workflows that use caching [1][2]. - [1] https://github.com/actions/setup-node/issues/516 - [2] https://github.com/actions/cache/issues/820 As of now (11:28 UTC) the status page has been updated. https://www.githubstatus.com
    comment by wkillerud · 2022-06-13 · in GitHub actions is down
  10. see also https://github.com/actions/cache/issues/820 Looks like the package servers are having troubles. Apparently a workaround is to use the `cache: npm` parameter for the setup-node action. Won't help when you rely on other actions or…
    comment by krautsourced · 2022-06-13 · in GitHub actions failing because of cache issue
  11. …not sure it's possible at the moment. Caching seems to be limited to needing to use actions/cache ( https://github.com/actions/cache )
  12. …used to be the primary way of caching deps in CI builds, but now most suggest caching ~/.npm[0]. 0: https://github.com/actions/cache/blob/main/examples.md#node-...
  13. …to get there, but one ride is a bit... bumpy. (I use both and I am not affiliated to either.) [0] https://github.com/actions/cache/issues/556
    comment by trulyme · 2021-09-08 · in GitHub Actions limitations and gotchas
  14. …own storage). The best workaround is to use a user-provided action which utilizes the s3 api[2]. 0: https://github.com/actions/cache/issues/632 1: https://github.com/github/roadmap/issues/66 2: https://github.com/actions/cache/issues/354#is…
    comment by judge2020 · 2021-09-08 · in GitHub Actions limitations and gotchas
  15. …the refreshed when the package.json file changes. See [1] actions/cache for more details. [1] https://github.com/actions/cache