feat: Print cargo hakari commands to fix failing checks if they fail

pull/24376/head
Carol (Nichols || Goulding) 2021-11-22 11:14:03 -05:00
parent fa36adc3e3
commit 0ca02ea4d7
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 2 additions and 2 deletions

View File

@ -147,10 +147,10 @@ jobs:
- cache_restore
- run:
name: Check that the workspace hack crate contains all features in use
command: cargo hakari generate --diff
command: cargo hakari generate --diff || echo "If this fails, fix it by running \`cargo hakari generate\` locally and committing the changes"
- run:
name: Check that all crates in the workspace depend on the workspace hack crate
command: cargo hakari manage-deps --dry-run
command: cargo hakari manage-deps --dry-run || echo "If this fails, fix it by running \`cargo hakari manage-deps\` locally and committing the changes"
test:
docker: