Skip to content

Commit

Permalink
Issue 92: Fix ci build failure due to cargo clean bug. (#93)
Browse files Browse the repository at this point in the history
Workaround for cargo clean bug rust-lang/cargo#8149

Signed-off-by: Sandeep <sandeep.shridhar@emc.com>
  • Loading branch information
shrids authored Apr 27, 2020
1 parent c49ee8e commit ff77579
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ jobs:
override: true
components: rustfmt, clippy

- name: Run cargo clean
uses: actions-rs/cargo@v1
with:
command: clean
args: -p pravega-controller-client -p pravega-wire-protocol -p pravega-client-rust -p pravega-rust-client-shared

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -98,12 +92,6 @@ jobs:
override: true
components: rustfmt, clippy

- name: Run cargo clean
uses: actions-rs/cargo@v1
with:
command: clean
args: -p pravega-controller-client -p pravega-wire-protocol -p pravega-client-rust -p pravega-rust-client-shared

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -196,8 +184,9 @@ jobs:
- name: Run cargo clean
uses: actions-rs/cargo@v1
with:
command: clean
args: -p pravega-controller-client -p pravega-wire-protocol -p pravega-client-rust -p pravega-rust-client-shared
command: clean
#Clean selected modules once https://github.com/rust-lang/cargo/issues/8149 is fixed.
#args: -p pravega-controller-client -p pravega-wire-protocol -p pravega-client-rust -p pravega-rust-client-shared

- name: Run cargo clippy
uses: actions-rs/cargo@v1
Expand Down
1 change: 0 additions & 1 deletion integration_test/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use flate2::read::GzDecoder;
use log::info;
use reqwest;
use std::fs::File;
use std::io;
use std::path::Path;
Expand Down
1 change: 0 additions & 1 deletion src/event_stream_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use rand::rngs::SmallRng;
use rand::{Rng, SeedableRng};
use snafu::ResultExt;

use tokio;
use tokio::sync::mpsc::{channel, Receiver, Sender};
use tokio::sync::oneshot;
use tracing::{debug, error, warn};
Expand Down

0 comments on commit ff77579

Please sign in to comment.