Skip to content

Commit 261abe1

Browse files
author
leon-xd
committed
replace udeps with machete
1 parent 7ffc74b commit 261abe1

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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-udeps@0.1.55
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 --skip-target-dir

0 commit comments

Comments
 (0)