diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e559bf0..e27568c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,16 +15,23 @@ jobs: steps: - uses: actions/checkout@v3 - name: nowasm-build - run: cargo build --verbose + run: cargo build wasm-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: jetli/wasm-pack-action@v0.4.0 + with: + version: 'latest' - name: wasm-build run: ./wasm_build.sh fmt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: rustfmt - name: fmt run: cargo fmt