From 9b8a704cbddf7b8ae9e7d726f7166a32784e02b7 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 15:12:32 +0000 Subject: [PATCH] Initial commit: ConfigForge multi-format config converter CLI --- .gitea/workflows/ci.yml | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..57e5ad1 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,42 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Run tests + run: cargo test --all -- --test-threads=4 + - name: Run clippy + run: cargo clippy --all -- -D warnings + - name: Check formatting + run: cargo fmt --check --all + + build: + runs-on: ubuntu-latest + needs: test + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Build release + run: cargo build --release + - name: Upload binary + uses: actions/upload-artifact@v4 + with: + name: config-forge + path: target/release/config-forge