We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7fd884 commit 1590278Copy full SHA for 1590278
.github/workflows/test.yml
@@ -0,0 +1,33 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ push:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-18.04
14
+ steps:
15
+ - uses: actions/checkout@v1
16
+ with:
17
+ submodules: recursive
18
+ - name: Install toolchain
19
+ uses: actions-rs/toolchain@v1
20
21
+ profile: minimal
22
+ toolchain: nightly-2019-12-04
23
+ components: rustfmt
24
+ target: wasm32-unknown-unknown
25
+ default: true
26
+ - name: Check format
27
+ run: cargo fmt --all -- --check
28
+ - name: Check Wasm
29
+ run: cargo check --no-default-features --target=wasm32-unknown-unknown
30
+ - name: Build
31
+ run: cargo build --locked
32
+ - name: Run tests
33
+ run: cargo test --all
0 commit comments