summaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-06-02 18:38:40 -0400
committerLibravatar Silas Bartha <[email protected]>2024-06-02 18:38:40 -0400
commit2a50eb9b405efb2a1935ebea229791d61272fe8c (patch)
tree0698e5781b4b5071a181213c9c62a04ec40cb029 /.github/workflows/rust.yml
parented31c4201834719b2b75dca7cad1637abf1a80bb (diff)
parent2d798abe12c1a80cbd5011a8a1f2b18ee5d84e2d (diff)
Merge branch 'master' of github.com:exvacuum/occule
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