aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..79251f5
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,22 @@
1name: Rust
2
3on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main ]
8
9env:
10 CARGO_TERM_COLOR: always
11
12jobs:
13 build:
14
15 runs-on: ubuntu-latest
16
17 steps:
18 - uses: actions/checkout@v3
19 - name: Build
20 run: cargo build --verbose
21 - name: Run tests
22 run: cargo test --verbose