Skip to content

Commit ce78a51

Browse files
feat: fix minimal crates and update dependencies
- fix minimal dependencies - portmapper: update igd-next - netwatch: update to latest `netlink` crates and drop direct dependency on `rtnetlink` - [x] Depends on n0-computer/n0-future#3
1 parent 3df0adf commit ce78a51

File tree

7 files changed

+593
-425
lines changed

7 files changed

+593
-425
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162

163163
- name: Install cargo-binstall
164164
uses: cargo-bins/cargo-binstall@main
165-
165+
166166
- name: Install wasm-bindgen-test-runner
167167
run: cargo binstall wasm-bindgen-cli --locked --no-confirm
168168

.github/workflows/tests.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: list ignored tests
112112
run: |
113113
cargo nextest list --workspace ${{ env.FEATURES }} --lib --bins --tests --run-ignored ignored-only
114-
env:
114+
env:
115115
NEXTEST_NO_TESTS: "pass"
116116

117117
- name: run tests
@@ -224,7 +224,7 @@ jobs:
224224
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
225225
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1
226226
NEXTEST_NO_TESTS: "pass"
227-
227+
228228
- name: upload results
229229
if: ${{ failure() && inputs.flaky }}
230230
uses: actions/upload-artifact@v4
@@ -233,3 +233,27 @@ jobs:
233233
path: output
234234
retention-days: 1
235235
compression-level: 0
236+
minimal-crates:
237+
runs-on: ${{ matrix.runner }}
238+
strategy:
239+
fail-fast: false
240+
matrix:
241+
name: [ubuntu-latest, macOS-arm-latest] # TODO: figure out install on windows
242+
include:
243+
- name: ubuntu-latest
244+
os: ubuntu-latest
245+
release-os: linux
246+
release-arch: amd64
247+
runner: [self-hosted, linux, X64]
248+
- name: macOS-arm-latest
249+
os: macOS-latest
250+
release-os: darwin
251+
release-arch: aarch64
252+
runner: [self-hosted, macOS, ARM64]
253+
steps:
254+
- uses: actions/checkout@v4
255+
- uses: dtolnay/rust-toolchain@nightly
256+
- name: cargo check
257+
run: |
258+
rm -f Cargo.lock
259+
cargo +nightly check -Z minimal-versions --workspace --all-features --lib --bins

0 commit comments

Comments
 (0)