Skip to content

Commit 736d9f5

Browse files
committed
fix: ci
1 parent 1d1e9b1 commit 736d9f5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/rust-quality.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- run: rustup component add clippy
1919
- name: Run clippy
20-
run: cargo clippy --all-features
20+
run: cargo clippy --features rusb,mdns
2121

2222
fmt:
2323
name: "fmt"
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v4
3535
- name: Run doc
36-
run: cargo doc --all-features --no-deps
36+
run: cargo doc --features rusb,mdns --no-deps
3737
env:
3838
RUSTDOCFLAGS: "-D warnings"
3939

@@ -43,4 +43,4 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v4
4545
- name: Run tests
46-
run: cargo test --verbose --all-features
46+
run: cargo test --verbose --features rusb,mdns

.github/workflows/rust-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
3737

3838
- name: Build release
39-
run: cargo build --all-features --release
39+
run: cargo build -p adb_cli --release
4040

4141
- name: Rename binary
4242
run: mv target/release/adb_cli target/release/adb_cli-linux
@@ -69,7 +69,7 @@ jobs:
6969
override: true
7070

7171
- name: Build release
72-
run: cargo build --all-features --release
72+
run: cargo build -p adb_cli --release
7373

7474
- name: Rename binary
7575
run: mv target/release/adb_cli target/release/adb_cli-macos
@@ -98,7 +98,7 @@ jobs:
9898
python-version: "3.10"
9999

100100
- name: Build release
101-
run: cargo build --all-features --release
101+
run: cargo build -p adb_cli --release
102102

103103
- name: Rename binary
104104
run: Rename-Item -Path target/release/adb_cli.exe -NewName adb_cli-windows.exe

0 commit comments

Comments
 (0)