fix: Fixed GetReplicationStatus info field #38
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: dry_run_rust_build | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- name: Checkout without submodules | |
uses: actions/checkout@v2 | |
- name: Setup buf | |
uses: bufbuild/buf-setup-action@v1 | |
- name: Lint protofiles with buf | |
uses: bufbuild/buf-lint-action@v1 | |
- name: Generate buf files | |
run: buf generate | |
build: # This does not build the whole proto files for production, it tests if rust / tonic | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- name: Checkout repository with submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Pull rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Test compiling protofiles with rust | |
uses: actions-rs/cargo@v1 | |
with: | |
command: run |