diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1be606cf9d..ed27baacaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,14 @@ name: Continuous integration jobs: ci: - runs-on: ubuntu-latest strategy: matrix: + platform: [ubuntu-latest, macos-latest, windows-latest] rust: - stable + runs-on: ${{ matrix.platform }} + steps: - uses: actions/checkout@v2 diff --git a/crates/nu-command/src/filesystem/rm.rs b/crates/nu-command/src/filesystem/rm.rs index 39626bb453..e10206a1c6 100644 --- a/crates/nu-command/src/filesystem/rm.rs +++ b/crates/nu-command/src/filesystem/rm.rs @@ -1,4 +1,5 @@ use std::env::current_dir; +#[cfg(unix)] use std::os::unix::prelude::FileTypeExt; use std::path::PathBuf;