docs(archival_state): Clarify that store_block
doesn't write to DB
#735
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
name: Rust | |
jobs: | |
runner-matrix: | |
name: format, lint, test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
- name: Build documentation | |
run: cargo doc --no-deps --workspace | |
env: | |
RUSTDOCFLAGS: -D warnings | |
- name: Run clippy | |
run: cargo clippy --all-targets -- -D warnings | |
- name: Run tests without benches | |
run: > | |
cargo test | |
--lib --bins --tests --examples | |
-- | |
--skip mine_20_blocks_in_40_seconds | |
--skip hash_rate_independent_of_tx_size | |
# `--doc` cannot be mixed with other target option | |
- name: Run documentation tests | |
run: cargo test --doc |