Skip to content

Commit

Permalink
Add diff check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 11, 2023
1 parent d2adb97 commit e047c6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Build and Test
working-directory: bindings/rust
run: cargo test
run: cargo test --feature generate_bindings
- name: Check that bindings are up to date
run: git diff --exit-code bindings/rust/src/bindings/generated.rs
- name: Benchmark
working-directory: bindings/rust
run: cargo bench

0 comments on commit e047c6d

Please sign in to comment.