From f4301213f61c7cdd81924d736daa67ecec39ce68 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sat, 4 Apr 2026 05:08:16 +0400 Subject: [PATCH] chore: preserve cargo --- .github/workflows/lint-rs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-rs.yml b/.github/workflows/lint-rs.yml index 6c1cb38..eea3ff7 100644 --- a/.github/workflows/lint-rs.yml +++ b/.github/workflows/lint-rs.yml @@ -124,8 +124,9 @@ jobs: env: DONUTBROWSER_RUN_OPENVPN_E2E: "1" run: | - sudo --preserve-env=PATH,CARGO_HOME,RUSTUP_HOME,DONUTBROWSER_RUN_OPENVPN_E2E \ - cargo test --test vpn_integration test_openvpn_traffic_flows_through_donut_proxy -- --nocapture + CARGO_BIN="$(command -v cargo)" + sudo --preserve-env=CARGO_HOME,RUSTUP_HOME,DONUTBROWSER_RUN_OPENVPN_E2E \ + "${CARGO_BIN}" test --test vpn_integration test_openvpn_traffic_flows_through_donut_proxy -- --nocapture - name: Run Rust sync e2e tests run: node scripts/sync-test-harness.mjs