Skip to content

Commit

Permalink
Add tonic lib and proto file
Browse files Browse the repository at this point in the history
Add build.rs file in order to generate code from proto file,
when Rust project will be built.

Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
  • Loading branch information
harlem88 committed Sep 9, 2022
1 parent 2cf403f commit ba36366
Show file tree
Hide file tree
Showing 7 changed files with 1,038 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -46,9 +48,6 @@ jobs:

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --features systemd

test:
name: cargo test
Expand All @@ -61,6 +60,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit ba36366

Please sign in to comment.