Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 9a99b93

Browse files
committed
exclude mutiny-server from workspace
1 parent 725f34f commit 9a99b93

File tree

7 files changed

+5256
-529
lines changed

7 files changed

+5256
-529
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ jobs:
3434
cargo +nightly-2023-10-24 fmt -- --check
3535
3636
- 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
4138

4239
website:
4340
name: Build WASM binary
@@ -288,3 +285,38 @@ jobs:
288285

289286
- name: Run cargo build
290287
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

0 commit comments

Comments
 (0)