mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-06 16:14:49 +08:00
Compare commits
1 Commits
fix/p03-re
...
fix/p02-ci
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04932997ff |
22
.github/workflows/rust-ci.yml
vendored
22
.github/workflows/rust-ci.yml
vendored
@@ -43,8 +43,8 @@ jobs:
|
|||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: cargo fmt --all --check
|
run: cargo fmt --all --check
|
||||||
|
|
||||||
test-rusty-claude-cli:
|
test-workspace:
|
||||||
name: cargo test -p rusty-claude-cli
|
name: cargo test --workspace
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -52,5 +52,19 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
workspaces: rust -> target
|
workspaces: rust -> target
|
||||||
- name: Run crate tests
|
- name: Run workspace tests
|
||||||
run: cargo test -p rusty-claude-cli
|
run: cargo test --workspace
|
||||||
|
|
||||||
|
clippy-workspace:
|
||||||
|
name: cargo clippy --workspace
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: clippy
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
workspaces: rust -> target
|
||||||
|
- name: Run workspace clippy
|
||||||
|
run: cargo clippy --workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user