When I was working on #132 I noticed the cache was cleared because the Cargo.lock was updated (added a dependency on thiserror to silverfish-command). In theory the build cache should've been used, but it wasn't because of the lockfile update (see https://codeberg.org/conjured/silverfish/actions/runs/313/jobs/0).
Maybe https://github.com/Swatinem/rust-cache works out of the box and we can just use it? Otherwise we could set restore-keys, but that may make the cache grow to infinity and beyond.
When I was working on #132 I noticed the cache was cleared because the `Cargo.lock` was updated (added a dependency on `thiserror` to `silverfish-command`). In theory the build cache should've been used, but it wasn't because of the lockfile update (see https://codeberg.org/conjured/silverfish/actions/runs/313/jobs/0).
Maybe https://github.com/Swatinem/rust-cache works out of the box and we can just use it? Otherwise we could set `restore-keys`, but that may make the cache grow to infinity and beyond.