Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,25 @@ jobs:
uses: actions/checkout@v4
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ runner.os }}
- name: Clippy check
run: cargo clippy --locked --all --all-targets --features ${{ matrix.network }},${{ matrix.device }}

discovery-tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ runner.os }}
- name: Run discovery tests
run: cargo test --locked --features client,server,all-devices,test --lib -- discovery::tests::test_unspecified_v4_only discovery::tests::test_loopback_v6_only
171 changes: 25 additions & 146 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ derive_more = { workspace = true, features = [
"into",
] }
dtor = { version = "0.1.1", optional = true }
netdev = { version = "0.40.0" }
if-addrs = "0.14.0"
eyre = { workspace = true }
futures = { workspace = true }
http = { version = "1.4.0", optional = true }
Expand Down
Loading
Loading