ci: add comprehensive formatting and linting setup

- Add formatting commands to justfile (format, fmt_check, clippy_check, fc)
- Create GitHub Actions workflows for automated fmt and clippy checks
- Fix existing clippy warnings in macro code
- Ensure CI enforcement of code quality standards

This brings native_model in line with native_db's robust formatting and linting approach.
This commit is contained in:
vincent-herlemont
2025-07-06 17:49:25 +02:00
committed by Vincent Herlemont
parent 64b1d15dd1
commit 31efa79429
8 changed files with 83 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use native_model::Model;
use native_model_macro::native_model;
use serde::{Deserialize, Serialize};
use native_model::Model;
#[derive(Serialize, Deserialize)]
#[native_model(id = 1, version = 1)]
struct Data(Vec<u8>);