Skip to content

Add a serving multiplexer to serve both web and grpc requests on the same port #286

Add a serving multiplexer to serve both web and grpc requests on the same port

Add a serving multiplexer to serve both web and grpc requests on the same port #286

Workflow file for this run

name: Cargo Test
on: [push, pull_request]
jobs:
test:
name: Test
env:
PROJECT_NAME_UNDERSCORE: concord
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Cargo cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install rustfmt
run: rustup component add rustfmt
- name: Install protobuf
run: sudo apt-get install -y protobuf-compiler
- name: Run tests
run: cargo test