mirror of
https://github.com/logos-messaging/chat_proto.git
synced 2026-05-04 00:13:11 +00:00
chore: ci for test
This commit is contained in:
parent
403029a541
commit
fb4fd1c84a
33
.github/workflows/rust.yaml
vendored
Normal file
33
.github/workflows/rust.yaml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Rust
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "**README.md"
|
||||||
|
- ".gitignore"
|
||||||
|
- "LICENSE"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Cargo Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install Rust
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
|
||||||
|
- name: Check Rust bindings
|
||||||
|
working-directory: gen/rust
|
||||||
|
run: cargo check --all-targets
|
||||||
|
|
||||||
|
- name: Test Rust bindings
|
||||||
|
working-directory: gen/rust
|
||||||
|
run: cargo test
|
||||||
Loading…
x
Reference in New Issue
Block a user