Skip to content

Commit

Permalink
Merge torrust#745: chore: various maintenance
Browse files Browse the repository at this point in the history
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
  • Loading branch information
da2ce7 committed Mar 20, 2024
2 parents ea33f1c + d2a346a commit 47c2fe2
Show file tree
Hide file tree
Showing 9 changed files with 140 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- id: test
name: Run Unit Tests
run: cargo test --tests --benches --examples --workspace --all-targets --all-features
run: cargo test --tests --workspace --all-targets --all-features

- id: coverage
name: Generate Coverage Report
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

- id: tools
name: Install Tools
uses: taiki-e/install-action@v2
with:
tool: cargo-machete

- id: check
name: Run Build Checks
run: cargo check --tests --benches --examples --workspace --all-targets --all-features
Expand All @@ -71,6 +77,14 @@ jobs:
RUSTDOCFLAGS: "-D warnings"
run: cargo doc --no-deps --bins --examples --workspace --all-features

- id: clean
name: Clean Build Directory
run: cargo clean

- id: deps
name: Check Unused Dependencies
run: cargo machete


unit:
name: Units
Expand Down
Loading

0 comments on commit 47c2fe2

Please sign in to comment.