Skip to content

Fixup the readme for publishing, and add a cargo test workflow #5

Fixup the readme for publishing, and add a cargo test workflow

Fixup the readme for publishing, and add a cargo test workflow #5

Workflow file for this run

name: Rust-fmt
on:
pull_request:
paths:
- 'sdk/rust/**'
- 'samples/rust/**'
push:
paths:
- 'sdk/rust/**'
- 'samples/rust/**'
branches:
- main
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update toolchain
run: rustup update --no-self-update stable && rustup default stable
- name: Check SDK
working-directory: sdk/rust
run: cargo fmt --all -- --check
- name: Check Samples
working-directory: samples/rust
run: cargo fmt --all -- --check