28
28
name : Enable Workflow Cache
29
29
uses : Swatinem/rust-cache@v2
30
30
31
- # Temporary Cleaning to avoid Rust Compiler Bug
32
- - id : clean
33
- name : Make Build Clean
34
- run : cargo clean
35
-
36
31
- id : format
37
32
name : Run Formatting-Checks
38
33
run : cargo fmt --check
44
39
45
40
strategy :
46
41
matrix :
47
- toolchain : [stable, nightly ]
42
+ toolchain : [nightly, stable ]
48
43
49
44
steps :
50
45
- id : checkout
@@ -62,10 +57,11 @@ jobs:
62
57
name : Enable Workflow Cache
63
58
uses : Swatinem/rust-cache@v2
64
59
65
- # Temporary Cleaning to avoid Rust Compiler Bug
66
- - id : clean
67
- name : Make Build Clean
68
- run : cargo clean
60
+ - id : tools
61
+ name : Install Tools
62
+ uses : taiki-e/install-action@v2
63
+ with :
64
+ tool : cargo-machete
69
65
70
66
- id : check
71
67
name : Run Build Checks
@@ -81,14 +77,22 @@ jobs:
81
77
RUSTDOCFLAGS : " -D warnings"
82
78
run : cargo doc --no-deps --bins --examples --workspace --all-features
83
79
80
+ - id : clean
81
+ name : Clean Build Directory
82
+ run : cargo clean
83
+
84
+ - id : deps
85
+ name : Check Unused Dependencies
86
+ run : cargo machete
87
+
84
88
unit :
85
89
name : Units
86
90
runs-on : ubuntu-latest
87
91
needs : check
88
92
89
93
strategy :
90
94
matrix :
91
- toolchain : [stable, nightly ]
95
+ toolchain : [nightly, stable ]
92
96
93
97
steps :
94
98
- id : checkout
@@ -106,11 +110,6 @@ jobs:
106
110
name : Enable Job Cache
107
111
uses : Swatinem/rust-cache@v2
108
112
109
- # Temporary Cleaning to avoid Rust Compiler Bug
110
- - id : clean
111
- name : Make Build Clean
112
- run : cargo clean
113
-
114
113
- id : imdl
115
114
name : Install Intermodal
116
115
run : cargo install imdl
@@ -130,7 +129,7 @@ jobs:
130
129
131
130
strategy :
132
131
matrix :
133
- toolchain : [stable, nightly ]
132
+ toolchain : [nightly, stable ]
134
133
135
134
steps :
136
135
- id : checkout
@@ -147,11 +146,6 @@ jobs:
147
146
name : Enable Job Cache
148
147
uses : Swatinem/rust-cache@v2
149
148
150
- # Temporary Cleaning to avoid Rust Compiler Bug
151
- - id : clean
152
- name : Make Build Clean
153
- run : cargo clean
154
-
155
149
- id : test-sqlite
156
150
name : Run Integration Tests (SQLite)
157
151
run : ./contrib/dev-tools/container/e2e/sqlite/run-e2e-tests.sh
0 commit comments