mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
Fix bug in PromptGuard configuration (#80)
Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
parent
7d130e102a
commit
370f3bb2c5
5 changed files with 25 additions and 13 deletions
12
.github/workflows/checks.yml
vendored
12
.github/workflows/checks.yml
vendored
|
|
@ -11,8 +11,10 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Clippy
|
||||
- name: Run Clippy on envoyfilter
|
||||
run: cd envoyfilter && cargo clippy --all-targets --all-features -- -Dwarnings
|
||||
- name: Run Clippy on public_types
|
||||
run: cd public_types && cargo clippy --all-targets --all-features -- -Dwarnings
|
||||
|
||||
format:
|
||||
name: Rustfmt
|
||||
|
|
@ -23,8 +25,10 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Rustfmt
|
||||
- name: Run Rustfmt on envoyfilter
|
||||
run: cd envoyfilter && cargo fmt -p intelligent-prompt-gateway -- --check
|
||||
- name: Run Rustfmt on public_types
|
||||
run: cd public_types && cargo fmt -p public_types -- --check
|
||||
|
||||
test:
|
||||
name: Test
|
||||
|
|
@ -38,5 +42,7 @@ jobs:
|
|||
run: rustup target add wasm32-wasi
|
||||
- name: Build wasm module
|
||||
run: cd envoyfilter && cargo build --release --target=wasm32-wasi
|
||||
- name: Run Tests
|
||||
- name: Run Tests on envoyfilter
|
||||
run: cd envoyfilter && cargo test
|
||||
- name: Run Tests on public_types
|
||||
run: cd public_types && cargo test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue