summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu <matthieu@matthieu-dev.xyz>2022-12-31 17:13:02 +0400
committerGitHub <noreply@github.com>2022-12-31 17:13:02 +0400
commit8ac17692959917ebbbdbfe334e533cb214c96d4c (patch)
treefde0ec426b5974b1b44c6c24946079e09195d4ee
parent65652932f77ce194a10cbc8dd42f3064e2c1a132 (diff)
Create 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..31000a2
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,22 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose