build: Run format and clippy during C# binding build (#451)

This commit is contained in:
Denis Komissarov
2025-08-04 17:57:38 -07:00
committed by GitHub
parent fc09802bfb
commit c5b2b0df97
2 changed files with 26 additions and 4 deletions

View File

@@ -41,6 +41,18 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch crates
run: cargo fetch
working-directory: ./bindings/ffi
- name: Check Regorus binding formatting
run: cargo fmt --check
working-directory: ./bindings/ffi
- name: Check Clippy linting for Regorus binding
run: cargo clippy --frozen -- -D warnings
working-directory: ./bindings/ffi
- name: Build Regorus binding
run: cargo build -r --target ${{ matrix.runtime.target }} --locked