Skip to content

proto message for HIP-125 #1358

proto message for HIP-125

proto message for HIP-125 #1358

Workflow file for this run

name: Rust CI
on:
push:
branches: [master]
tags: ['v*']
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- name: Check formatting
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -Dclippy::all -A clippy::large_enum_variant
- name: Build Library
run: cargo build --workspace --all-features
- name: Run tests
run: cargo test --workspace --all-features