Adds reference note bytes to getassetstate RPC method response. #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic checks | |
#on: [push, pull_request] | |
on: [push] | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04] | |
env: | |
# Use system-installed RocksDB library instead of building from scratch | |
ROCKSDB_LIB_DIR: /usr/lib | |
# Use system-installed Snappy library for compression in RocksDB | |
SNAPPY_LIB_DIR: /usr/lib/x86_64-linux-gnu | |
# FIXME: remove the following commented lines | |
# Enable the `nu6` feature in `zcash_protocol` | |
#RUSTFLAGS: '--cfg zcash_unstable="nu6"' | |
#RUSTDOCFLAGS: '--cfg zcash_unstable="nu6"' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies on Ubuntu | |
#run: sudo apt-get update && sudo apt-get install -y protobuf-compiler build-essential librocksdb-dev | |
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler librocksdb-dev | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Verify working directory is clean | |
run: git diff --exit-code | |
- name: Run doc check | |
run: cargo doc --all-features --document-private-items | |
- name: Run format check | |
run: cargo fmt -- --check | |
- name: Run clippy | |
# FIXME: Temporarily disable specific Clippy checks to allow CI to pass while addressing existing issues. | |
# This may be related to stricter Clippy rules introduced in Rust 1.83.0. | |
# Once the Clippy warnings/errors are resolved, revert to the original Clippy command below. | |
# Original Clippy command: | |
# run: cargo clippy --workspace --all-features --all-targets -- -D warnings | |
run: | | |
cargo clippy --workspace --all-features --all-targets -- -D warnings \ | |
-A clippy::unnecessary_lazy_evaluations \ | |
-A elided-named-lifetimes \ | |
-A clippy::needless_lifetimes \ | |
-A missing-docs \ | |
-A non_local_definitions \ | |
-A clippy::needless_return |