This repository was archived by the owner on Feb 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +5256
-529
lines changed Expand file tree Collapse file tree 7 files changed +5256
-529
lines changed Original file line number Diff line number Diff line change 34
34
cargo +nightly-2023-10-24 fmt -- --check
35
35
36
36
- name : Check docs
37
- run : cargo +nightly-2023-10-24 doc --exclude mutiny-server --workspace
38
-
39
- - name : Check docs server
40
- run : cargo +nightly-2023-10-24 doc --target x86_64-unknown-linux-gnu -p mutiny-server
37
+ run : cargo +nightly-2023-10-24 doc
41
38
42
39
website :
43
40
name : Build WASM binary
@@ -288,3 +285,38 @@ jobs:
288
285
289
286
- name : Run cargo build
290
287
run : cargo build --all-features --package mutiny-core --target=${{ matrix.target }}
288
+
289
+ check_formatting-server :
290
+ name : Check Formatting mutiny-server
291
+ runs-on : ubuntu-latest
292
+ timeout-minutes : 60
293
+ steps :
294
+ - uses : actions/checkout@v3
295
+
296
+ - uses : actions/cache@v2
297
+ with :
298
+ path : |
299
+ ~/.cargo/registry
300
+ ~/.cargo/git
301
+ target
302
+ key : cargo-${{ runner.os }}-formatting-v2-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
303
+ restore-keys : |
304
+ cargo-${{ runner.os }}-formatting-v2-
305
+ cargo-${{ runner.os }}-
306
+
307
+ - name : Install nightly toolchain
308
+ uses : actions-rs/toolchain@v1
309
+ with :
310
+ toolchain : nightly-2023-10-24
311
+ components : rustfmt
312
+ profile : minimal
313
+
314
+ - name : Check formatting
315
+ run : |
316
+ cd mutiny-server && cargo +nightly-2023-10-24 fmt -- --check
317
+
318
+ - name : Check docs
319
+ run : cd mutiny-server && cargo +nightly-2023-10-24 doc --target x86_64-unknown-linux-gnu
320
+
321
+ - name : Run cargo clippy
322
+ run : cd mutiny-server && cargo clippy --all-features --tests --target=x86_64-unknown-linux-gnu -- -D warnings
You can’t perform that action at this time.
0 commit comments