Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci(env): use nightly env rust action provides
  • Loading branch information
clearloop committed Nov 18, 2020
commit c87664166cae67d464088f4d0e9751c0658146fc
11 changes: 4 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ jobs:
os: [macOS-latest, ubuntu-latest]
steps:
- name: Checkout the source code
uses: actions/checkout@master
uses: actions/checkout@v1
with:
rust-version: nightly
toolchain: nightly
- name: Environment
run: |
rustup update
rustup toolchain install nightly

if [[ "$(uname)" == 'Darwin' ]]; then
brew update
brew install sqlite3
Expand All @@ -26,6 +23,6 @@ jobs:
sudo apt-get install -y libsqlite3-dev libdbus-1-dev
fi
- name: Build
run: cargo +nightly build --verbose
run: cargo +nightly build --all-features --vv
- name: Run tests
run: cargo +nightly test --verbose
run: cargo +nightly test --all-features --vv
1 change: 0 additions & 1 deletion src/cmds/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ impl Command for ListCommand {

let out: Vec<String> = ps.iter().map(ToString::to_string).collect();
println!("{}", out.join("\n"));
// io::stdout().write_all(out.join("\n").as_bytes())?;

// one more thing, filter stat
if m.is_present("stat") {
Expand Down