Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
if: github.event_name == 'push' || !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
with:
# Self-hosted jobs share one working tree. Without lfs, checkout writes new LFS files
# as pointers and later checkouts never rewrite them, so `test` read pointers and the
# query fixtures failed. Objects are cached under .git/lfs, so this is cheap.
lfs: true
- uses: dsherret/rust-toolchain-file@v1
- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -66,6 +71,10 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true
# `git lfs fetch` above only fills the object cache. Pointers that an earlier checkout
# without lfs left in the shared working tree are never rewritten by git, so replace
# them from the cache here.
- run: git lfs checkout
- uses: dsherret/rust-toolchain-file@v1
- uses: Swatinem/rust-cache@v2
with:
Expand Down
Loading