Skip to content

Commit

Permalink
Update tooling to latest version
Browse files Browse the repository at this point in the history
- Update `cargo-all-features` from 1.9.0 to 1.10.0.
- Update `cargo-deny` from v0.13.9 to v0.14.3 and bump the minimum
  version to v0.14.2 because of the introduction of the `include-dev`
  option in that version, which is adopted here as well.
- Update `cargo-mutants` from 23.6.0 to 23.11.1 and update the config
  to ignore the `rm::dispose` method in which it now finds a mutant. The
  mutant isn't caught because no tests for this function are run without
  the `test-trash` feature, which won't be enabled for mutation testing
  due to the cost it would incur. This does not affect usage with the
  current minimum version of `cargo-mutants`. (The minimum version is
  corrected, the previously listed version does not exist.)
- Update `cargo-tarpaulin` from 0.26.1 to 0.27.1.
  • Loading branch information
ericcornelissen committed Nov 19, 2023
1 parent 71d8315 commit 5d65a99
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
- name: Install cargo-deny
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-deny@0.13.9
tool: cargo-deny@0.14.3
- name: Audit
run: just ci-audit
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- name: Install cargo-deny
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-deny@0.13.9
tool: cargo-deny@0.14.3
- name: Check compliance
run: just ci-compliance
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Install cargo-all-features
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-all-features@1.9.0
tool: cargo-all-features@1.10.0
- name: Build
run: just ci-build
build-nightly:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install cargo-all-features
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-all-features@1.9.0
tool: cargo-all-features@1.10.0
- name: Build
run: just ci-build
coverage:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Install cargo-tarpaulin
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-tarpaulin@0.26.1
tool: cargo-tarpaulin@0.27.1
- name: Run all tests with coverage
run: just ci-coverage
- name: Upload coverage report
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
- name: Install cargo-mutants
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-mutants@23.6.0
tool: cargo-mutants@23.11.1
- name: Run mutation tests
run: just ci-mutation
- name: Upload mutation report
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- name: Install cargo-all-features
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-all-features@1.9.0
tool: cargo-all-features@1.10.0
- name: Run all tests
run: just ci-test
test-nightly:
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
- name: Install cargo-all-features
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-all-features@1.9.0
tool: cargo-all-features@1.10.0
- name: Run all tests
run: just ci-test
vet:
Expand All @@ -327,6 +327,6 @@ jobs:
- name: Install cargo-all-features
uses: taiki-e/install-action@e07b619ce2f1b995233833f3582c6e72d0a50127 # v2.19.0
with:
tool: cargo-all-features@1.9.0
tool: cargo-all-features@1.10.0
- name: Vet
run: just ci-vet
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ To be able to contribute you need the following tooling:
- [Just] v1;
- [Rust] and [Cargo] v1.74 (edition 2021) with [Clippy], [rustfmt] (see `rust-toolchain.toml`);
- (Optional) [cargo-all-features] v1.7.0 or later;
- (Optional) [cargo-deny] v0.13.0 or later;
- (Optional) [cargo-mutants] v23.0.0 or later;
- (Optional) [cargo-deny] v0.14.2 or later;
- (Optional) [cargo-mutants] v23.5.0 or later;
- (Optional) [cargo-tarpaulin] v0.25.0 or later;
- (Suggested) a code editor with [EditorConfig] support;

Expand Down
1 change: 1 addition & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ alias v := vet
--output _reports/ \
--exclude-re cli::run \
--exclude-re logging \
--exclude-re rm::dispose \
--exclude-re 'impl Display' \
-- \
{{TEST_UNIT_ARGS}} \
Expand Down
3 changes: 2 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ allow = [
"BSD-3-Clause",
"Unicode-DFS-2016",
]
confidence-threshold = 0.8
deny = []
default = "deny"
include-dev = true
unlicensed = "deny"
confidence-threshold = 0.8

0 comments on commit 5d65a99

Please sign in to comment.