From bace1e956c38a2cffcc0baa68ca1637955bbf887 Mon Sep 17 00:00:00 2001
From: LoBe <loic.bellinger@gmail.com>
Date: Wed, 14 May 2025 22:21:05 +0200
Subject: [PATCH] update examples.md for Bun v1.2 lockfile format

Bun v1.2 now uses the text-based `bun.lock` as its default lockfile format. Adjusted the action-cache examples to reference and cache `bun.lock` instead of the previous binary format.
---
 examples.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples.md b/examples.md
index ac78be2..71eaa88 100644
--- a/examples.md
+++ b/examples.md
@@ -49,7 +49,7 @@
   with:
     path: |
       ~/.bun/install/cache
-    key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
+    key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
 ```
 
 ### Windows
@@ -59,7 +59,7 @@
   with:
     path: |
       ~\.bun
-    key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
+    key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
 ```
 
 ## C# - NuGet