Skip to content

net: implement persistent PeerChannelPool for connection reuse #123

net: implement persistent PeerChannelPool for connection reuse

net: implement persistent PeerChannelPool for connection reuse #123

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Setup Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Format check
run: nix develop --command cargo fmt --check
- name: Clippy
run: nix develop --command cargo clippy --all-targets --all-features
- name: Custom lints
run: nix develop --command scripts/custom-lints.rb
- name: Build
run: nix develop --command cargo build --all-targets --all-features
- name: Unit tests
run: nix develop --command cargo test -- --nocapture
- name: E2E tests
run: nix develop --command cargo test-e2e