Skip to content

Add temporary docs for pub test constants amd modules #105

Add temporary docs for pub test constants amd modules

Add temporary docs for pub test constants amd modules #105

Workflow file for this run

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
run: cargo clippy --workspace --all-features --all-targets -- -D warnings