]> code.octet-stream.net Git - hashgood/commitdiff
Add basic Rust test github action
authorThomas Karpiniec <tom.karpiniec@outlook.com>
Wed, 22 Jan 2020 09:00:41 +0000 (20:00 +1100)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 09:00:41 +0000 (20:00 +1100)
.github/workflows/rust.yml [new file with mode: 0644]

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644 (file)
index 0000000..fec17ad
--- /dev/null
@@ -0,0 +1,15 @@
+name: Rust
+
+on: [push]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Build
+      run: cargo build --verbose
+    - name: Run tests
+      run: cargo test --verbose