diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70840371..28e5979d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,9 @@ jobs: run: script/build-wasm - name: Build CLI - run: RUSTFLAGS="-D warnings" cargo build --release + run: | + RUSTFLAGS="-D warnings" + cargo build --release - name: Set up fixture parsers run: | @@ -134,7 +136,9 @@ jobs: run: cargo fmt -- --check - name: Build CLI - run: RUSTFLAGS="-D warnings" cargo build --release + run: | + $env:RUSTFLAGS="-D warnings" + cargo build --release - name: Set up fixture parsers run: | diff --git a/cli/src/util.rs b/cli/src/util.rs index 396702c8..db69bbd6 100644 --- a/cli/src/util.rs +++ b/cli/src/util.rs @@ -1,4 +1,4 @@ -use anyhow::{anyhow, Context, Result}; +use anyhow::{Result}; use std::io; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc;