Skip to content

Commit

Permalink
Merge pull request #118 from palfrey/proc-macro-update
Browse files Browse the repository at this point in the history
CI step with fully updated dependencies
  • Loading branch information
palfrey authored Nov 2, 2024
2 parents 7919b91 + f6435ab commit 6229fac
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,20 @@ jobs:
toolchain: nightly
- name: Remove lock
run: rm Cargo.lock
- run: cargo build -Z minimal-versions
- run: cargo build -Z minimal-versions

dependency-updates:
name: dependency updates
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- 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
6 changes: 3 additions & 3 deletions serial_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion serial_test_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions serial_test_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit 6229fac

Please sign in to comment.