Skip to content

Commit d6fd106

Browse files
fix: update pnpm cache version in all workflows to v2
Updated cache keys in lint.yml, validate-deps.yml, and release.yml to match the v2 cache version, ensuring all CI workflows use the new clean cache instead of restoring the old corrupted cache. Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/0a3e0819-25f9-4493-92ec-00710638c5a7 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
1 parent 4ada04d commit d6fd106

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
uses: actions/cache@v5
3737
with:
3838
path: ${{ env.STORE_PATH }}
39-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
39+
key: ${{ runner.os }}-pnpm-store-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
4040
restore-keys: |
41-
${{ runner.os }}-pnpm-store-
41+
${{ runner.os }}-pnpm-store-v2-
4242
4343
- name: Install dependencies
4444
run: pnpm install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
uses: actions/cache@v5
3636
with:
3737
path: ${{ env.STORE_PATH }}
38-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
key: ${{ runner.os }}-pnpm-store-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
3939
restore-keys: |
40-
${{ runner.os }}-pnpm-store-
40+
${{ runner.os }}-pnpm-store-v2-
4141
4242
- name: Install dependencies
4343
run: pnpm install --frozen-lockfile

.github/workflows/validate-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
uses: actions/cache@v5
4040
with:
4141
path: ${{ env.STORE_PATH }}
42-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42+
key: ${{ runner.os }}-pnpm-store-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
4343
restore-keys: |
44-
${{ runner.os }}-pnpm-store-
44+
${{ runner.os }}-pnpm-store-v2-
4545
4646
- name: Verify lockfile is up to date
4747
run: |

0 commit comments

Comments
 (0)