Fix bug in PromptGuard configuration (#80)

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
José Ulises Niño Rivera 2024-09-25 22:36:55 -06:00 committed by GitHub
parent 7d130e102a
commit 370f3bb2c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 25 additions and 13 deletions

View file

@ -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