Tracks issued_assets map in non-finalized state #3
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 |