We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73d499a commit c8d3b9eCopy full SHA for c8d3b9e
1 file changed
.github/workflows/ci.yml
@@ -54,11 +54,16 @@ jobs:
54
# The LSAPI supervisor suite signals and reaps detached descendants.
55
# GitHub's runner blocks those operations for its unprivileged user.
56
run: |
57
+ cargo_bin="$(rustup which cargo)"
58
+ rustc_bin="$(rustup which rustc)"
59
+ rustdoc_bin="$(rustup which rustdoc)"
60
sudo env \
61
+ "HOME=$HOME" \
62
+ "CARGO_HOME=$HOME/.cargo" \
63
"PATH=$PATH" \
- "RUSTUP_HOME=$RUSTUP_HOME" \
- "CARGO_HOME=$CARGO_HOME" \
- cargo test --workspace --locked
64
+ "RUSTC=$rustc_bin" \
65
+ "RUSTDOC=$rustdoc_bin" \
66
+ "$cargo_bin" test --workspace --locked
67
68
dco:
69
if: github.event_name == 'pull_request'
0 commit comments