Skip to content

Commit 47c2fe2

Browse files
committed
Merge torrust#745: chore: various maintenance
d2a346a chore: update deps (Cameron Garnham) 1c59d89 chore: various maintenance (Cameron Garnham) Pull request description: 1. Clean-up Dependency Versions (major version only). 2. Remove Unused Dependences. 3. Add Unused Dependency Checker to Testing Workflow. 4. Edit coverage to not include examples and benchmarks. 5. Update Deps. ACKs for top commit: da2ce7: ACK d2a346a Tree-SHA512: bd49a758bd610e61d34e96913004669f6607fb8c767b1af888a3e754708e5f7e14b9e6064f96482f304d21b2e30c229337bd9162ecb582b5a4215a19f69baebc
2 parents ea33f1c + d2a346a commit 47c2fe2

File tree

9 files changed

+140
-197
lines changed

9 files changed

+140
-197
lines changed

.github/workflows/coverage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- id: test
6363
name: Run Unit Tests
64-
run: cargo test --tests --benches --examples --workspace --all-targets --all-features
64+
run: cargo test --tests --workspace --all-targets --all-features
6565

6666
- id: coverage
6767
name: Generate Coverage Report

.github/workflows/testing.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
name: Enable Workflow Cache
5858
uses: Swatinem/rust-cache@v2
5959

60+
- id: tools
61+
name: Install Tools
62+
uses: taiki-e/install-action@v2
63+
with:
64+
tool: cargo-machete
65+
6066
- id: check
6167
name: Run Build Checks
6268
run: cargo check --tests --benches --examples --workspace --all-targets --all-features
@@ -71,6 +77,14 @@ jobs:
7177
RUSTDOCFLAGS: "-D warnings"
7278
run: cargo doc --no-deps --bins --examples --workspace --all-features
7379

80+
- id: clean
81+
name: Clean Build Directory
82+
run: cargo clean
83+
84+
- id: deps
85+
name: Check Unused Dependencies
86+
run: cargo machete
87+
7488

7589
unit:
7690
name: Units

0 commit comments

Comments
 (0)