-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA workflow: improve caching, clippy
* cache ~/.cargo, rather than just the git/ and registry/ subdirectories, which should get us ~/.cargo/bin where e.g. cargo-audit lives, so we won't rebuild it each time * fix the cache key names to be properly distinct, and not depend upon missing variables (matrix.rust is only present in the 'test' jobs) * clippy job: use actions-rs/toolchain to get us rustc 'stable', since the ubuntu image we're using is out of date (it has 1.40, current stable is 1.41). It costs 10-20s to install stable=1.41 . * name the output of the clippy step "clippy results" to reduce the irritation of a bug where the results get added as an annotation to a random job (sometimes the 'audit' workflow gets a 'clippy' step with the results, so now it at least won't look like we're running a duplicate step)
- Loading branch information
Showing
1 changed file
with
18 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters