Skip to content

Commit daee58d

Browse files
committed
add rust-protobuf to CI
Signed-off-by: Ping Yu <[email protected]>
1 parent 1baa3f8 commit daee58d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
check:
1111
name: check
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
env: [ '', 'RUST_PROTOBUF=1' ]
1316
steps:
1417
- uses: actions/checkout@v2
1518
- uses: actions-rs/toolchain@v1
@@ -24,10 +27,8 @@ jobs:
2427
repo-token: ${{ secrets.GITHUB_TOKEN }}
2528
- name: Rust Cache
2629
uses: Swatinem/[email protected]
27-
- uses: actions-rs/cargo@v1
28-
with:
29-
command: check
30-
args: --all-targets --all-features
30+
- name: make check
31+
run: ${{ matrix.env }} make check
3132

3233
fmt:
3334
name: rustfmt

0 commit comments

Comments
 (0)