flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
518 stars 34 forks source link

ci: use caching actions to setup build environment #82

Closed JarvisCraft closed 1 year ago

JarvisCraft commented 1 year ago

Description

This enables the usage of GitHub Actions which cache dependencies by default in order to speed up builds.

JarvisCraft commented 1 year ago

@dtolnay's action seems to not perform caching by itself and @actions-rs are unmaintained. Probably manual caching should be done for the former.

dcoles commented 1 year ago

It looks like running apt install isn't too bad in our existing GitHub actions (I've seen it range from 4s to 16s).

Though it definately seems a good idea to use @dtolnay's toolchain action.

str4d commented 1 year ago

83 now relies on rust-toolchain.toml as the baseline source of truth, and uses the toolchain action where needed (to switch to e.g. beta).

JarvisCraft commented 1 year ago

Superseded by #83