Skip to content

fix rust doc code

fix rust doc code #41

Workflow file for this run

name: Rust PR Checks
on:
pull_request:
paths:
- 'rust/**'
jobs:
build_and_lint:
name: cargo check & cargo clippy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
- name: Install Clang
run: |
sudo apt update
sudo apt install clang -y
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.0
profile: minimal
override: true
components: clippy
- name: cargo check
working-directory: ./rust
run: cargo check --workspace --all-features
- name: cargo clippy
working-directory: ./rust
run: cargo clippy -- -D warnings
continue-on-error: true
# If this step fails, it will warn (?)