mirror of
https://github.com/katanemo/plano.git
synced 2026-05-27 14:17:15 +02:00
Add testing to GitHub workflow (#15)
* update workflow and pre-commit to test only unit tests * Update .github/workflows/checks.yml Co-authored-by: Adil Hafeez <adil@katanemo.com> * Update .pre-commit-config.yaml Co-authored-by: Adil Hafeez <adil@katanemo.com> * update formatting of comments * Update .pre-commit-config.yaml * Update checks.yml --------- Co-authored-by: Adil Hafeez <adil@katanemo.com>
This commit is contained in:
parent
7bf77afa0e
commit
31c4ac267a
2 changed files with 17 additions and 2 deletions
27
.github/workflows/static-analysis.yml
vendored
27
.github/workflows/static-analysis.yml
vendored
|
|
@ -1,27 +0,0 @@
|
|||
name: Static Analysis
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Clippy
|
||||
run: cd envoyfilter && cargo clippy --all-targets --all-features -- -Dwarnings
|
||||
|
||||
format:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Rustfmt
|
||||
run: cd envoyfilter && cargo fmt --all -- --check
|
||||
Loading…
Add table
Add a link
Reference in a new issue