Skip to content

Rewrite SDK to use Tonic and Rust #4

Rewrite SDK to use Tonic and Rust

Rewrite SDK to use Tonic and Rust #4

Workflow file for this run

name: Run all integration tests
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
continuous_integration:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Check formatting
run: cargo fmt --check
- name: Check lint warnings
run: cargo clippy --all-features
- name: Check types are up-to-date
run: |
cargo build
if [[ $(git status --porcelain) ]]; then
echo "Run cargo build and commit to the repo again."
exit 1
fi
integration_testing:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run tests
run: |
cargo test