diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32eb9fd6..cf28bd3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,10 @@ jobs: run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --keep-going minimal-versions: name: Minimal versions - runs-on: ubuntu-latest + strategy: + matrix: + os: ["ubuntu-latest", "windows-latest"] + runs-on: ${{ matrix.os }} steps: - name: Checkout repository uses: actions/checkout@v5 diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 20d39c2b..b9c3fb36 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -47,7 +47,10 @@ jobs: run: cargo hack test --each-feature --workspace latest: name: "Check latest dependencies" - runs-on: ubuntu-latest + strategy: + matrix: + os: ["ubuntu-latest", "windows-latest"] + runs-on: ${{ matrix.os }} env: CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow steps: diff --git a/Cargo.lock b/Cargo.lock index 1387875c..8dd26d33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -185,6 +185,7 @@ name = "anstyle-syntect" version = "1.0.4" dependencies = [ "anstyle 1.0.13", + "same-file", "syntect", "thiserror", ] diff --git a/crates/anstyle-syntect/Cargo.toml b/crates/anstyle-syntect/Cargo.toml index 0be6ff3b..37498b08 100644 --- a/crates/anstyle-syntect/Cargo.toml +++ b/crates/anstyle-syntect/Cargo.toml @@ -29,6 +29,7 @@ syntect = { version = "5.2.0", default-features = false } [target.'cfg(any())'.dependencies] thiserror = "1.0.2" # HACK: bad minimal dep in syntect +same-file = "1.0.6" # HACK: bad mininal dep somewhere [lints] workspace = true