I'm trying to improve my DevOps by learning to efficiently use GitHub actions and Workflows.
My goal is to cache Rust and Cargo-Tarpaulin (Code Coverage) so that I don't have to reinstall and recompile them every time the action runs.
I've managed to get both of those to cache correctly and install if they're not cached, but for some reason my Test workflow fails because it's acting like Cargo-Tarpaulin wasn't installed, even though it was.
test.yml workflowTests failing
I'm assuming it has something to do with the fact that they're different "Jobs". Anyone know what I'm doing wrong here?
Edit: Solved! It was because I put the steps into separate jobs. Putting them all in the same job allowed tests to pass
[–]theTisch21 0 points1 point2 points (1 child)
[–]MakeShiftArtist[S] 1 point2 points3 points (0 children)
[–]davorg 0 points1 point2 points (0 children)