Skip to content

Commit 9c20eb3

Browse files
authored
chore: update to latest WDR release (#37)
2 parents 353f2d8 + 9ba6bba commit 9c20eb3

File tree

9 files changed

+109
-138
lines changed

9 files changed

+109
-138
lines changed

.github/workflows/lint.yaml

+7-11
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
if: matrix.rust_toolchain == 'nightly'
7878
run: cargo +${{ matrix.rust_toolchain }} clippy --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple }} --all-targets --features nightly -- -D warnings
7979

80-
udeps:
80+
machete:
8181
name: Detect Unused Cargo Dependencies
8282
runs-on: windows-latest
8383
strategy:
@@ -104,17 +104,13 @@ jobs:
104104
Install-WinGetPackage -Id ${{ matrix.wdk }} -Source winget -MatchOption Equals -Mode Silent -Force
105105
}
106106
107-
- name: Install Rust Toolchain (Nightly)
108-
# Cargo udeps only supports running on nightly due to reliance on unstable dep-info feature: https://github.com/est31/cargo-udeps/issues/113, https://github.com/est31/cargo-udeps/issues/136
109-
uses: dtolnay/rust-toolchain@nightly
107+
- name: Install Rust Toolchain
108+
uses: dtolnay/rust-toolchain@stable
110109

111-
- name: Install Cargo Udeps
110+
- name: Install Cargo Machete
112111
uses: taiki-e/install-action@v2
113112
with:
114-
tool: cargo-[email protected]
113+
tool: cargo-machete
115114

116-
- name: Run Cargo Udeps
117-
run: cargo +nightly udeps --locked --all-targets
118-
119-
- name: Run Cargo Udeps (--features nightly)
120-
run: cargo +nightly udeps --locked --all-targets --features nightly
115+
- name: Run Cargo Machete
116+
run: cargo machete

0 commit comments

Comments
 (0)