summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-02-14 15:39:51 +0000
committerEllie Huxtable <ellie@elliehuxtable.com>2021-02-14 16:02:36 +0000
commit7bd8e73c70424401144f70608c3a100b47717a8a (patch)
tree83486eb9f793e4622e7bdddc5a939977af9204f7 /.github
parent660edfefed7e658ed73ef64cd20582e390bb0cc5 (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 00000000..7ae98f3b
--- /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@v2
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose