Skip to content

add file snapshot

add file snapshot #94

Workflow file for this run

name: RAFT-RS CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check formatting
run: cargo fmt -- --check
- name: Check Unused Dependencies
run: |
cargo install cargo-machete
cargo machete
- name: Check Linting
run: cargo clippy -- -D warnings
- name: Unit test
run: cargo test
- name: Build project
run: cargo build