File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and Test check
33jobs :
44 builds :
55 name : Build checks
6- runs-on : ubuntu-20 .04
6+ runs-on : ubuntu-24 .04
77 strategy :
88 matrix :
99 mode : ["", "--release"]
4040 target : thumbv6m-none-eabi
4141 override : true
4242 profile : minimal
43- - name : Check unused deps
44- uses : aig787/cargo-udeps-action@v1
45- with :
46- version : latest
47- args : ${{ matrix.mode }}
43+ - name : Install cargo-hack
44+ run : |
45+ curl -sSL https://github.com/taiki-e/cargo-hack/releases/download/v0.6.17/cargo-hack-x86_64-unknown-linux-gnu.tar.gz | tar xvzf - -C ~/.cargo/bin
46+ - name : Install cargo-udeps
47+ run : |
48+ curl -sSL https://github.com/est31/cargo-udeps/releases/download/v0.1.55/cargo-udeps-v0.1.55-x86_64-unknown-linux-gnu.tar.gz | tar xvzf - --strip-components=2 -C ~/.cargo/bin ./cargo-udeps-v0.1.55-x86_64-unknown-linux-gnu/cargo-udeps
49+ - name : Run cargo-udeps
50+ run : cargo hack udeps --optional-deps --each-feature
4851
You can’t perform that action at this time.
0 commit comments