diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml index 64e037b57..c34527a6b 100644 --- a/.github/workflows/rust-tests.yml +++ b/.github/workflows/rust-tests.yml @@ -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