This action caches binaries installed via cargo install
.
- automatically update cache when new bin versions are installed.
- uses: hanabi1224/cache-cargo-bin-action@v1.0.0
- run: cargo install --locked [bins]
# This flag makes the binaries much smaller
env:
RUSTFLAGS: "-Cstrip=symbols"