diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3252991..bc32a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,4 +80,20 @@ jobs: toolchain: nightly - name: Remove lock run: rm Cargo.lock - - run: cargo build -Z minimal-versions \ No newline at end of file + - run: cargo build -Z minimal-versions + + dependency-updates: + name: dependency updates + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.5.0 + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + - name: Update packages + run: cargo update + - name: Build and test + run: cargo test --all-features -- --nocapture + env: + RUST_TEST_THREADS: 3 # So the parallel tests have enough threads + RUST_LOG: debug \ No newline at end of file diff --git a/serial_test/Cargo.toml b/serial_test/Cargo.toml index e28f2c0..f7c53ae 100644 --- a/serial_test/Cargo.toml +++ b/serial_test/Cargo.toml @@ -16,15 +16,15 @@ parking_lot = "^0.12" serial_test_derive = { version = "~3.1.1", path = "../serial_test_derive" } fslock = { version = "0.2", optional = true } document-features = { version = "0.2", optional = true } -log = { version = "0.4", optional = true } +log = { version = ">=0.4.4", optional = true } futures = { version = "^0.3", default_features = false, features = [ "executor", ], optional = true} scc = { version = "2"} -env_logger = {version="0.10", optional=true} +env_logger = {version=">=0.6.1", optional=true} [dev-dependencies] -itertools = "0.10" +itertools = ">=0.10" [features] default = ["logging", "async"] diff --git a/serial_test_derive/Cargo.toml b/serial_test_derive/Cargo.toml index cc3876f..f5c581a 100644 --- a/serial_test_derive/Cargo.toml +++ b/serial_test_derive/Cargo.toml @@ -18,7 +18,7 @@ syn = { version="2", features=["full"] } proc-macro2 = "1.0.60" # Because of https://github.com/dtolnay/proc-macro2/issues/356 [dev-dependencies] -env_logger = "0.10" +env_logger = ">=0.6.1" prettyplease = "0.2" [features] diff --git a/serial_test_test/Cargo.toml b/serial_test_test/Cargo.toml index a6b58ff..b41a21c 100644 --- a/serial_test_test/Cargo.toml +++ b/serial_test_test/Cargo.toml @@ -10,12 +10,12 @@ rust-version = "1.68.2" [dependencies] serial_test = { path="../serial_test", default_features = false } once_cell = "^1.19" -env_logger = "^0.10" +env_logger = ">=0.6.1" parking_lot = "^0.12" lock_api = "^0.4.7" wasm-bindgen-test = {version="0.3.20", optional=true} scoped-tls = {version="1", optional=true} -log = { version = "0.4" } +log = { version = ">=0.4.4" } [dev-dependencies] tokio = { version = "^1.27", features = ["macros", "rt"] }