Skip to content

Refactor topic pipeline to lock-free fanout #51

Refactor topic pipeline to lock-free fanout

Refactor topic pipeline to lock-free fanout #51

Workflow file for this run

name: Rust CI
on:
pull_request:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y clang pkg-config libssl-dev protobuf-compiler
- name: Run cargo fmt
run: cargo fmt --check
- name: Run cargo clippy
run: cargo clippy --all-targets -- -D warnings
- name: Run tests
run: cargo test --all -- --nocapture