Skip to content

Commit b2fa309

Browse files
committed
Update Github Action
1 parent d9280a5 commit b2fa309

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/rust.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
env:
12+
CARGO_TERM_COLOR: always
13+
RUST_BACKTRACE: 1
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain-name: stable
23+
- run: cargo install wasm-pack
24+
- run: wasm-pack build

0 commit comments

Comments
 (0)