summaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-05-27 14:24:51 -0400
committerLibravatar GitHub <[email protected]>2024-05-27 14:24:51 -0400
commit2d798abe12c1a80cbd5011a8a1f2b18ee5d84e2d (patch)
tree4f41e4f95e55d0244e638a21d38a29a5b85e2e3e /.github/workflows/rust.yml
parenta6b0ef5354872eb59242daf2397af5c36e9c3d1c (diff)
Create rust.yml
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..000bb2c
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,22 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose