Skip to main content
Copy a workflow below into .github/workflows/build.yml after connecting your repository. Each example runs only when you select Run workflow in GitHub; commit it to your default branch first. Each example restores its persistent cache with tensorlakeai/github-runners@v1 and builds normally when a cache isn’t available. Change the runner size to fit your build.
Build and test a Cargo project. Dependencies, compiled dependency outputs, and the Rust toolchain persist between runs.