feat: migrate json-encoder-web from wasm-pack to direct wasm-bindgen #547
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Block Oracle Continuous Integration | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: full | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions-rs/cargo@v1 | |
| env: | |
| RUSTFLAGS: "-D warnings" | |
| with: | |
| command: check | |
| args: --workspace --tests | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions-rs/cargo@v1 | |
| env: | |
| RUSTFLAGS: "-D warnings" | |
| with: | |
| command: test | |
| args: --workspace | |
| fmt: | |
| name: Rustfmt | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions-rs/cargo@v1 | |
| env: | |
| RUSTFLAGS: "-D warnings" | |
| with: | |
| command: fmt | |
| args: --all --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: rustup component add clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions-rs/cargo@v1 | |
| with: | |
| command: clippy | |
| args: --workspace -- -D warnings |