Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
target = "wasm32-wasip1"

[term]
color = "always"
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
- name: Add wasm32-wasi Rust target
run: rustup target add wasm32-wasi
- name: Install rustfmt
run: rustup component add rustfmt
shell: bash
- name: Setup Rust toolchain with caching
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Check formatting
run: cargo fmt --all -- --check
shell: bash
- name: Check source
run: cargo check
shell: bash
- name: Run tests
run: cargo test
shell: bash
Loading
Loading