Merge pull request #18 from google:ssbr-patch-1

PiperOrigin-RevId: 825256803
Change-Id: I2b7a27195f025f2f7d85a5bf56fcda32374d57af
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..80706d9
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,23 @@
+# Part of the Crubit project, under the Apache License v2.0 with LLVM
+# Exceptions. See /LICENSE for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+name: Cargo
+
+on:
+  push:
+    branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
+
+env:
+  CARGO_TERM_COLOR: always
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v4
+    - name: Build
+      run: cargo build --verbose --bin cc_bindings_from_rs