Skip to content

Support Iroha 2.0.0-rc.1 + many new features #11

Support Iroha 2.0.0-rc.1 + many new features

Support Iroha 2.0.0-rc.1 + many new features #11

Workflow file for this run

name: Pull Request CI
on:
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jetli/[email protected]
with:
version: 'v0.13.1'
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Clone Iroha
run: deno task prep:iroha --git $IROHA_GIT --git-rev $IROHA_REV
env:
IROHA_GIT: https://github.com/hyperledger-iroha/iroha.git
IROHA_REV: v2.0.0-rc.1.0
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rust-src
cache: "false"
- uses: Swatinem/rust-cache@v2
with:
workspaces: ".iroha -> target\ncrypto-wasm -> target"
cache-on-failure: "true"
cache-all-crates: "true"
- name: Build Iroha & WASMs
run: |
deno task prep:iroha:build
deno task prep:crypto-wasm
- name: Type check
run: deno task check:all
- name: Lint, format
run: |
deno lint
deno fmt
- name: Test
run: deno task test