Skip to content

fix #436: unify snapshot install path, fix leader_term/last_included correctness gaps, consolidate peer replication state tracking #377

fix #436: unify snapshot install path, fix leader_term/last_included correctness gaps, consolidate peer replication state tracking

fix #436: unify snapshot install path, fix leader_term/last_included correctness gaps, consolidate peer replication state tracking #377

name: Dependency Audit
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
audit:
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Cache Cargo Dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Audit dependencies
run: |
cargo install cargo-deny --locked
cargo deny check all
- name: Update dependencies
run: cargo update
- name: Check compatibility
run: cargo check --all-features