Closed cvng closed 9 months ago
Add caching to speedup CI time
CI takes time due to build-dependencies like libpg_query
build-dependencies
libpg_query
CI uses rust-cache to improve compile time, a sample before / after: 3m 22s -> 45s
3m 22s -> 45s
other minor fixes included:
+nightly
rust-toolchain
cargo check
cargo fmt
To my surprise actions-rs/toolchain was recently archived, but this can be reverted if not required
What kind of change does this PR introduce?
Add caching to speedup CI time
What is the current behavior?
CI takes time due to
build-dependencies
likelibpg_query
What is the new behavior?
CI uses rust-cache to improve compile time, a sample before / after:
3m 22s -> 45s
other minor fixes included:
+nightly
is implied by therust-toolchain
filecargo check
was added a new stepcargo fmt
was ran (but not checked in CI)Additional context
To my surprise actions-rs/toolchain was recently archived, but this can be reverted if not required