Skip to content

Commit e28c603

Browse files
authored
Ensure nightly reverts any changes before checking out next run. (#1179)
1 parent 22a69df commit e28c603

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

benchmarks/nightly.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ COMMITS=$(git rev-list --reverse "${LAST_COMMIT}..HEAD")
105105
for commit in $COMMITS; do
106106
log "Processing commit $commit"
107107

108+
# Reset working tree (uv run may modify uv.lock)
109+
git restore .
110+
108111
# Checkout the commit
109112
git checkout "$commit" 2>&1 | log
110113

0 commit comments

Comments
 (0)