From b9c1d86d6fd6cedd04a22af15074f916bf809ed7 Mon Sep 17 00:00:00 2001 From: Gaurav Tiwari Date: Tue, 28 Jul 2026 09:53:43 +0100 Subject: [PATCH] Pin Action 1.14.0 in CLI docs --- README.md | 2 +- docs/github-actions.md | 12 ++++++------ docs/quick-start.md | 2 +- docs/tool-guides.md | 2 +- install-web/index.html | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e278bee..27f226c 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ echo "$BORINGCACHE_RESTORE_TOKEN" | docker login registry.boringcache.com \ docker pull registry.boringcache.com/my-org/my-workspace/web:latest ``` -If you are wiring GitHub Actions, use [`boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27`](https://github.com/boringcache/one) after onboard so CI can reuse the same repo config and trust model. +If you are wiring GitHub Actions, use [`boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6`](https://github.com/boringcache/one) after onboard so CI can reuse the same repo config and trust model. ## Docs diff --git a/docs/github-actions.md b/docs/github-actions.md index 1571f9d..43ed889 100644 --- a/docs/github-actions.md +++ b/docs/github-actions.md @@ -5,14 +5,14 @@ The preferred path is: 1. install the CLI locally 2. run `boringcache onboard` 3. commit `.boringcache.toml` when it helps -4. use [`boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27`](https://github.com/boringcache/one) in GitHub Actions +4. use [`boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6`](https://github.com/boringcache/one) in GitHub Actions That keeps CI and local runs on the same workspace, entries, and cache profiles. Example: ```yaml -- uses: boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27 # v1.13.106 +- uses: boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6 # v1.14.0 with: setup: none mode: archive @@ -22,10 +22,10 @@ Example: BORINGCACHE_SAVE_TOKEN: ${{ github.event_name != 'pull_request' && secrets.BORINGCACHE_SAVE_TOKEN || '' }} ``` -For proxy-backed modes, `boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27` also accepts first-class `metadata-hints` so sessions and misses stay grouped by stable labels instead of per-run noise: +For proxy-backed modes, `boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6` also accepts first-class `metadata-hints` so sessions and misses stay grouped by stable labels instead of per-run noise: ```yaml -- uses: boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27 # v1.13.106 +- uses: boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6 # v1.14.0 with: setup: none mode: bazel @@ -40,7 +40,7 @@ For proxy-backed modes, `boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a2 Keep those hints low-cardinality. Good values are `project=web`, `benchmark=grpc-bazel`, `tool=gradle`, `lane=ci`, or `workflow=build`. Avoid commit SHAs, run ids, timestamps, and cold/warm labels for normal sessions; BoringCache classifies new and recurring misses from cache target and lifecycle data. -If the repo already defines `[proxy]` or adapter `metadata-hints` in `.boringcache.toml`, `boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27` inherits them through the CLI dry-run plan. Prefer repo config for durable defaults and use the action input only when the workflow needs an explicit override. +If the repo already defines `[proxy]` or adapter `metadata-hints` in `.boringcache.toml`, `boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6` inherits them through the CLI dry-run plan. Prefer repo config for durable defaults and use the action input only when the workflow needs an explicit override. The canonical repo-config starting points in [Tool guides](tool-guides.md) are meant to be shared between local CLI runs and GitHub Actions for exactly this reason. @@ -88,7 +88,7 @@ You can still override a configured adapter from the workflow when needed: BORINGCACHE_SAVE_TOKEN: ${{ github.event_name != 'pull_request' && secrets.BORINGCACHE_SAVE_TOKEN || '' }} ``` -Use `boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27` when you want the action to keep owning tool setup such as Bazel rc files, Maven or Gradle cache config, buildx setup, or container networking. +Use `boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6` when you want the action to keep owning tool setup such as Bazel rc files, Maven or Gradle cache config, buildx setup, or container networking. When you run `boringcache docker` directly in GitHub Actions, the CLI derives the same branch/default/PR human tags from GitHub metadata that archive and proxy flows use. The action path passes provider-neutral metadata so Docker cache artifacts report the resolved human import/export tags and CI context. For Dockerfile `RUN` steps that invoke native remote-cache tools, use the Docker-specific action input with inline tags such as diff --git a/docs/quick-start.md b/docs/quick-start.md index c47c482..eb968ac 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -53,7 +53,7 @@ boringcache docker The next docs to read are usually [Adapter commands](adapter-commands.md) and [Tool guides](tool-guides.md). -If the repo uses GitHub Actions, the next step is usually [`boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27`](https://github.com/boringcache/one). +If the repo uses GitHub Actions, the next step is usually [`boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6`](https://github.com/boringcache/one). See [GitHub Actions](github-actions.md). ## Security defaults diff --git a/docs/tool-guides.md b/docs/tool-guides.md index b2301a6..6d3d38a 100644 --- a/docs/tool-guides.md +++ b/docs/tool-guides.md @@ -9,7 +9,7 @@ The pattern is simple: 3. use `boringcache ` The snippets below are intended to be copy-pasteable `.boringcache.toml` -starting points. They work for local CLI runs and for `boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27` +starting points. They work for local CLI runs and for `boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6` because the action asks the CLI for the same repo plan. Shared defaults for the examples: diff --git a/install-web/index.html b/install-web/index.html index d4be11b..f62ccd2 100644 --- a/install-web/index.html +++ b/install-web/index.html @@ -188,7 +188,7 @@

🎯 Next Steps

  • Move into your repo: cd your-project
  • Connect the CLI: boringcache onboard
  • Wrap one repeated step: boringcache run -- bundle install
  • -
  • Wire CI when ready: boringcache/one@9721d419d2c78c0780963d297eb3f81f24641a27 (v1.13.106)
  • +
  • Wire CI when ready: boringcache/one@6b7033721b37075b2138fd0c769bf088e0836ce6 (v1.14.0)
  • 📖 Documentation: Visit boringcache.com/docs for setup paths and CLI docs.