Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github/workflows: print clippy output in case of errors
In the `unsafe-check` job, if `cargo clippy` fails, we don't have any log since we are redirecting the stderr to a file to count the number of undocumented unsafe blocks. We don't expect it to fail, since other steps in `check` job should check this case, but it has happened in some cases. Print the file content in case of `cargo clippy` returns with error, so we can debug better CI failures. Reported-by: Oliver Steffen <osteffen@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
- Loading branch information