From 53eeafa9a8f85991475f119aebbd758c29299f19 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun, 6 Apr 2025 21:33:04 -0500
Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Fix=20PIO=20caching=20to=20speed=20?=
 =?UTF-8?q?up=20checks?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/build-pr.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml
index c80fc5a543..7cb1ca39c2 100644
--- a/.github/workflows/build-pr.yml
+++ b/.github/workflows/build-pr.yml
@@ -54,8 +54,12 @@ jobs:
     - name: Cache PlatformIO
       uses: actions/cache@v4
       with:
-        path: ~/.platformio
-        key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
+        path: |
+          ~/.platformio
+          .pio/libdeps
+        key: ${{ runner.os }}-pio-v1
+        restore-keys: |
+          ${{ runner.os }}-pio-
 
     - name: Select Python 3.9
       uses: actions/setup-python@v5