mirror of https://github.com/tikv/client-rust.git
add rust-protobuf to CI
Signed-off-by: Ping Yu <yuping@pingcap.com>
This commit is contained in:
parent
1baa3f84bb
commit
daee58de76
|
@ -10,6 +10,9 @@ jobs:
|
|||
check:
|
||||
name: check
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
env: [ '', 'RUST_PROTOBUF=1' ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
@ -24,10 +27,8 @@ jobs:
|
|||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v1.4.0
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --all-targets --all-features
|
||||
- name: make check
|
||||
run: ${{ matrix.env }} make check
|
||||
|
||||
fmt:
|
||||
name: rustfmt
|
||||
|
|
Loading…
Reference in New Issue