summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2024-05-27 14:24:51 -0400
committerLibravatar GitHub <noreply@github.com>2024-05-27 14:24:51 -0400
commit2d798abe12c1a80cbd5011a8a1f2b18ee5d84e2d (patch)
tree4f41e4f95e55d0244e638a21d38a29a5b85e2e3e /.github/workflows
parenta6b0ef5354872eb59242daf2397af5c36e9c3d1c (diff)
Create rust.yml
Diffstat (limited to '.github/workflows')
-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