Add a serving multiplexer to server both web and grpc requests on the… #283
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |