feat(ci): Add Forgejo CI/CD pipeline for linting and building
Some checks are pending
Lint and Build / Lint (push) Waiting to run
Lint and Build / Build (push) Blocked by required conditions
Lint and Build / Docker Build (push) Blocked by required conditions

- Automated linting with rustfmt and clippy
- Automated building and testing
- Automated Docker image builds
- Clippy and rustfmt configuration files
This commit is contained in:
goose 2026-02-15 19:57:03 -03:00
parent c69d3be302
commit 775f05d696
4 changed files with 238 additions and 0 deletions

15
backend/rustfmt.toml Normal file
View file

@ -0,0 +1,15 @@
# Rustfmt configuration
max_width = 100
hard_tabs = false
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
edition = "2021"
merge_derives = true
use_try_shorthand = true
use_field_init_shorthand = true
force_explicit_abi = true