Skip to content

fix: update to tendermint 0.35 to fix the timeout (#168) #17

fix: update to tendermint 0.35 to fix the timeout (#168)

fix: update to tendermint 0.35 to fix the timeout (#168) #17

Workflow file for this run

name: Rust
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: build
run: |
protoc --version
cargo build --all-features
fmt:
name: Rustfmt
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
components: rustfmt
- name: Enforce formatting
run: |
rustup component add rustfmt
cargo fmt --check
clippy:
name: Clippy
runs-on: zondax-runners
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl protobuf-compiler build-essential
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Linting
run: |
protoc --version
cargo clippy --all-features -- -D warnings