-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 974 Bytes
/
ci.yml
File metadata and controls
37 lines (33 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --workspace
- run: cargo test --workspace --features small
integrity:
name: Integrity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
targets: wasm32-unknown-unknown
- run: cargo check --workspace
- run: cargo check --workspace --features small
- run: cargo check --target wasm32-unknown-unknown
- run: cargo check --target wasm32-unknown-unknown --features small
- run: cargo clippy --workspace -- -D warnings
- run: cargo clippy --workspace --features small -- -D warnings
- run: cargo fmt --all --check