Add minimal versions check for nightly CI job (#1197)

This commit is contained in:
nickelc
2021-02-23 01:13:50 +01:00
committed by GitHub
parent 61a955c821
commit 6ac97dc3aa
2 changed files with 8 additions and 1 deletions

View File

@@ -186,6 +186,13 @@ jobs:
command: test
args: --features __internal_proxy_sys_no_cache -- --test-threads=1
- name: Check minimal versions
run: |
cargo clean
cargo update -Z minimal-versions
cargo check
cargo check --all-features
minversion:
name: Minimum version ${{ matrix.rust }}
needs: [style]

View File

@@ -125,7 +125,7 @@ async-compression = { version = "0.3.7", default-features = false, features = ["
tokio-util = { version = "0.6.0", default-features = false, features = ["codec", "io"], optional = true }
## socks
tokio-socks = { version = "0.5", optional = true }
tokio-socks = { version = "0.5.1", optional = true }
## trust-dns
trust-dns-resolver = { version = "0.20", optional = true }