Skip to content

impl rust Database #111

impl rust Database

impl rust Database #111

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 doc test
working-directory: ./rust
run: cargo test --doc -- --show-output
- name: cargo clippy
working-directory: ./rust
run: cargo clippy -- -D warnings
continue-on-error: true
# If this step fails, it will warn (?)