From 31dbcabe7cae942bbbdc791eeece842b860ec02e Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Thu, 27 Apr 2023 14:31:06 +0200 Subject: [PATCH] ci: enable cargo debug logging in semver-checks This PR enables debug logging on requests from cargo to the registry in semver-checks action (https://github.com/rust-lang/cargo/issues/7662#issuecomment-561809348). Hopefully, it will let us debug the network issue reported here: https://github.com/libp2p/rust-libp2p/pull/3782#issuecomment-1523346255 Pull-Request: #3838. --- .github/actions/cargo-semver-checks/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/cargo-semver-checks/action.yml b/.github/actions/cargo-semver-checks/action.yml index 7e982959608..79151e6e98c 100644 --- a/.github/actions/cargo-semver-checks/action.yml +++ b/.github/actions/cargo-semver-checks/action.yml @@ -31,3 +31,6 @@ runs: shell: bash env: CARGO_TERM_VERBOSE: "true" + # debugging https://github.com/libp2p/rust-libp2p/pull/3782#issuecomment-1523346255 + CARGO_HTTP_DEBUG: "true" + CARGO_LOG: "cargo::ops::registry=debug"