Skip to content

feat: upgrade to polkadot-v1.0.0 #208

feat: upgrade to polkadot-v1.0.0

feat: upgrade to polkadot-v1.0.0 #208

Workflow file for this run

name: Rust check
on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.gitignore'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
SKIP_WASM_BUILD: '1'
steps:
- run: sudo apt update && sudo apt install --assume-yes cmake protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- uses: actions/checkout@v1
- run: >
cargo fmt --all -- --check
&& cargo install cargo-sort
&& cargo sort --workspace --check --grouped
&& cargo clippy --workspace --tests -- -Dwarnings
&& cargo test --workspace --features runtime-benchmarks