summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcaneDev <alive6863@gmail.com>2025-03-21 20:36:47 +0300
committerGitHub <noreply@github.com>2025-03-21 20:36:47 +0300
commit8adea23331628039827beb579576ad566e98e010 (patch)
tree5ee4bdb383046e2f07e88a52ec854639162f7415
parentf53d129ec4d19513e77eb6317c40597a42e01601 (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..9fd45e0
--- /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@v4
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose