There was an error while loading. Please reload this page.
1 parent 41bf78d commit df2316fCopy full SHA for df2316f
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - uses: dtolnay/rust-toolchain@stable
16
+ with:
17
+ components: rustfmt, clippy
18
19
+ - uses: Swatinem/rust-cache@v2
20
21
+ - run: cargo fmt --check
22
+ - run: cargo clippy --workspace --all-targets -- -D warnings
23
+ - run: cargo test --workspace
24
25
+ wasm-build:
26
27
28
29
30
31
32
+ targets: wasm32v1-none
33
34
35
36
+ - run: cargo build --target wasm32v1-none --release
0 commit comments