Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Fix wasm ci

Fix wasm ci #4

Workflow file for this run

name: Rust
on:
push:
branches: ["dev"]
pull_request:
branches: ["dev"]
# env:
# CARGO_TERM_COLOR: always
jobs:
nowasm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: nowasm-build
run: cargo build
wasm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rust-src
- uses: jetli/[email protected]
with:
version: 'latest'
- name: wasm-build
run: ./wasm_build.sh
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: fmt
run: cargo fmt