Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

dispatch to evm

dispatch to evm #259

Workflow file for this run

name: CI suite
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2022-10-28
targets: wasm32-unknown-unknown
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.9.1'
- name: Build
run: |
cargo +nightly-2022-10-28 check --workspace --all-targets --all-features --verbose --locked
- name: Build `no-std`
run: |
cargo +nightly-2022-10-28 check -p pallet-ismp --no-default-features --target=wasm32-unknown-unknown --verbose --locked
cargo +nightly-2022-10-28 check -p ismp-demo --no-default-features --target=wasm32-unknown-unknown --verbose --locked
- name: Test
run: |
cargo +nightly-2022-10-28 test -p pallet-ismp --all-targets --all-features --verbose --locked
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check format
run: cargo +nightly fmt --all --check