aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-12-13 16:36:19 +0100
committerGitHub <noreply@github.com>2020-12-13 16:36:19 +0100
commit9427911a6dcd5e78f0302739d198d24249525fbe (patch)
tree519684f7ae2565bfaa58e08767dc4e2adc2f53f6 /.github
parent4a3837700ee0d7d44e960831586f7f0113114dfe (diff)
Create rust.yml
Diffstat (limited to '.github')
-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..3c13d1b
--- /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@v2
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose