Skip to content

[fix] #3516: make FindTrigger queries return original WASM #2987

[fix] #3516: make FindTrigger queries return original WASM

[fix] #3516: make FindTrigger queries return original WASM #2987

name: I2::Dev::Wasm
defaults:
run:
working-directory: wasm
on:
pull_request:
branches: [iroha2-dev]
paths:
- 'wasm/**.rs'
- 'wasm/**.json'
- 'wasm/**.toml'
- 'wasm/**.yml'
- 'data_model/**.rs'
- 'data_model/**.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUSTUP_TOOLCHAIN: nightly-2023-06-25
jobs:
static-analysis:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all -- --check
- name: Lints
if: always()
run: cargo clippy -Zlints --workspace --benches --tests --examples --quiet
- name: Documentation
if: always()
run: cargo doc --no-deps --quiet
tests:
runs-on: ubuntu-latest #[self-hosted, Linux]
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: mold --run cargo test --tests --no-fail-fast --quiet