Skip to content

Commit

Permalink
Upgrade tracing subscriber and check minimum dependency versions in CI (
Browse files Browse the repository at this point in the history
  • Loading branch information
faern authored Jul 14, 2022
1 parent 2f66703 commit 18ca7a1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ jobs:
- name: Check
run: cargo check --all-features

# Minimal dependency versions
minimal-dependency-versions:
name: minimal dependency versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Install nightly Rust
run: rustup update nightly
- name: Set all dependencies to lowest allowed versions
run: cargo +nightly update -Z minimal-versions
- name: Test
run: cargo test
- name: Check --features checkpoint
run: cargo check --features checkpoint
- name: Test --features futures
run: cargo test --features futures

# Stable
stable:
name: stable
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ serde_json = { version = "1.0.33", optional = true }
pin-utils = { version = "0.1.0", optional = true }

tracing = "0.1.27"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-subscriber = { version = "0.3.8", features = ["env-filter"] }

[dev-dependencies]
futures-util = "0.3.0"
Expand Down

0 comments on commit 18ca7a1

Please sign in to comment.