Skip to content

Commit f443bb0

Browse files
eransclaude
andcommitted
ci: share entire target/ directory to avoid recompilation
Fix: Tests were recompiling everything from scratch in test job. Now sharing full target/ directory so test job can reuse artifacts. Expected: ~15min total (build ~2min + test ~5min) vs current 30+ min 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8ae6930 commit f443bb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- name: Upload build artifacts
3838
uses: actions/upload-artifact@v4
3939
with:
40-
name: release-binary
41-
path: target/release/pgsqlite
40+
name: target-directory
41+
path: target/
4242
retention-days: 1
4343

4444
test:
@@ -67,8 +67,8 @@ jobs:
6767
- name: Download build artifacts
6868
uses: actions/download-artifact@v4
6969
with:
70-
name: release-binary
71-
path: target/release/
70+
name: target-directory
71+
path: .
7272
- name: Make binary executable
7373
run: chmod +x target/release/pgsqlite
7474
- name: Run unit tests

0 commit comments

Comments
 (0)