feat: rename crate to matcha-cli + two-forge CI/CD workflows
Crate renamed matcha->matcha-cli for crates.io (the name matcha is taken); binary stays matcha. Adds description/license/repository and CalVer prerelease version. New .github/workflows: ci (fmt+clippy+test), promote (main+tags -> GitHub), release (relocated from .gitea + crates.io publish on GitHub only). Cargo.lock regenerated; gate passes locally. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
1 parent
cc943079a4
commit
dfba02a7ce
5 files changed
+78
-4
No files matched your search
@@ -0,0 +1,23 @@
|
||||
name: CI
|
||||
|
||||
# Rust gate. Lives in .github/workflows so both Gitea and GitHub run it.
|
||||
on:
|
||||
pull_request:
|
||||
branches: [develop, main]
|
||||
push:
|
||||
branches: [develop, main]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Add clippy + rustfmt
|
||||
run: rustup component add clippy rustfmt
|
||||
- run: cargo fmt --check
|
||||
- run: cargo clippy --all-targets -- -D warnings
|
||||
- run: cargo test --locked
|
||||
Reference in new issue
Block a user