Files
auto-commit/.gitea/workflows/ci.yml
7000pctAUTO c4e819bd2d
Some checks failed
CI / build (push) Has been cancelled
fix: resolve module structure issues by separating CLI and git modules
- Removed duplicated git module code from cli.rs
- Created dedicated git.rs module with GitRepo, StagedChanges, ChangedFile, FileStatus definitions
- Updated all modules (analyzer, generator, prompt) to import from super::git
- Fixed module organization to resolve compilation errors
2026-02-01 12:48:37 +00:00

38 lines
702 B
YAML

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Check code formatting
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Build project
run: cargo build --release
- name: Run tests
run: cargo test
- name: Show binary info
run: ls -la target/release/auto-commit