Fix ci. #36
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: Chariot CI | |
on: [push, pull_request] | |
env: | |
CLICOLOR_FORCE: 1 | |
jobs: | |
ci: | |
name: Unit Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [stable] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
- name: Install cargo-make | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug cargo-make | |
- name: Install gRPC | |
run: | | |
sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
- name: Cargo test | |
run: | | |
cargo make test |