From 6ac97dc3aaa6126ac6a6656efe47ad778c0892b5 Mon Sep 17 00:00:00 2001 From: nickelc Date: Tue, 23 Feb 2021 01:13:50 +0100 Subject: [PATCH] Add minimal versions check for nightly CI job (#1197) --- .github/workflows/ci.yml | 7 +++++++ Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 394a709..c58abcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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] diff --git a/Cargo.toml b/Cargo.toml index 54cb213..bf43b10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 }