Skip to content

Commit 533ff97

Browse files
committed
chore: remove cache workspace remnant
1 parent 7246cf6 commit 533ff97

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/setup.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,14 +1246,6 @@ ${generateComposerSetupSteps()}
12461246
git config --global user.name "github-actions[bot]"
12471247
git config --global user.email "github-actions[bot]@users.noreply.github.com"
12481248
1249-
- name: Cache workspace
1250-
uses: actions/cache/save@v4
1251-
with:
1252-
path: |
1253-
.
1254-
!.git
1255-
key: buddy-bot-workspace-\${{ github.sha }}
1256-
12571249
# Rebase check job (formerly buddy-check.yml)
12581250
rebase-check:
12591251
runs-on: ubuntu-latest

test/cli-setup-extended.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ describe('CLI Setup - Extended Tests', () => {
141141
expect(workflow).toContain('fetch-depth: 0')
142142
expect(workflow).toContain('persist-credentials: true')
143143
expect(workflow).toContain('git config --global user.name')
144-
expect(workflow).toContain('uses: actions/cache/save@v4')
144+
// TODO: Cache was removed from workflow optimization - no longer needed since each job sets up independently. Properly implement this in the future.
145+
// expect(workflow).toContain('uses: actions/cache/save@v4')
145146
// Note: cache/restore was removed from individual jobs to prevent bunx command not found errors
146147
// Should not contain build step since repos may not have build scripts
147148
expect(workflow).not.toContain('bun run build')

0 commit comments

Comments
 (0)