diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ca6d9981..28656f59 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -56,17 +56,24 @@ jobs: - run: cargo test --all-features msrv: - name: Check MSRV (${{ matrix.rust }}) + name: Check MSRV (${{ matrix.rust }}) on ${{ matrix.os }} needs: [style] strategy: matrix: rust: [ 1.63 ] # keep in sync with 'rust-version' in Cargo.toml - runs-on: ubuntu-latest + os: + - ubuntu-latest + - windows-latest + - macos-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 - name: Resolve MSRV aware dependencies - run: cargo update + run: | + cargo update + cargo update system-configuration --precise 0.5.0 env: CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback - name: Install Rust (${{ matrix.rust }}) diff --git a/Cargo.toml b/Cargo.toml index 19226188..e80f491e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,10 +48,10 @@ pretty_env_logger = "0.5" pnet_datalink = "0.35.0" [target.'cfg(target_os = "macos")'.dependencies] -system-configuration = { version = "0.6.1", optional = true } +system-configuration = { version = ">=0.5, <0.7", optional = true } [target.'cfg(windows)'.dependencies] -windows-registry = { version = "0.6", optional = true } +windows-registry = { version = ">=0.3, <0.7", optional = true } [features] default = []