File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 32
32
name : Run Formatting-Checks
33
33
run : cargo fmt --check
34
34
35
- check :
35
+ check :
36
36
name : Static Analysis
37
37
runs-on : ubuntu-latest
38
38
needs : format
57
57
name : Enable Workflow Cache
58
58
uses : Swatinem/rust-cache@v2
59
59
60
+ - id : tools
61
+ name : Install Tools
62
+ uses : taiki-e/install-action@v2
63
+ with :
64
+ tool : cargo-machete
65
+
60
66
- id : check
61
67
name : Run Build Checks
62
68
run : cargo check --tests --benches --examples --workspace --all-targets --all-features
71
77
RUSTDOCFLAGS : " -D warnings"
72
78
run : cargo doc --no-deps --bins --examples --workspace --all-features
73
79
80
+ - id : clean
81
+ name : Clean Build Directory
82
+ run : cargo clean
74
83
84
+ - id : deps
85
+ name : Check Unused Dependencies
86
+ run : cargo machete
75
87
76
88
unit :
77
89
name : Units
@@ -134,7 +146,6 @@ jobs:
134
146
name : Enable Job Cache
135
147
uses : Swatinem/rust-cache@v2
136
148
137
-
138
149
- id : test-sqlite
139
150
name : Run Integration Tests (SQLite)
140
151
run : ./contrib/dev-tools/container/e2e/sqlite/run-e2e-tests.sh
Original file line number Diff line number Diff line change @@ -99,11 +99,10 @@ uuid = { version = "1", features = ["v4"] }
99
99
100
100
[dev-dependencies ]
101
101
tempfile = " 3"
102
- uuid = { version = " 1" , features = [" v4" ] }
103
102
which = " 6"
104
103
105
104
[package .metadata .cargo-machete ]
106
- ignored = [" sha-1" ]
105
+ ignored = [" sha-1" , " futures " ]
107
106
108
107
[lints .clippy ]
109
108
complexity = { level = " deny" , priority = -1 }
You can’t perform that action at this time.
0 commit comments