Add github workflow CI (#74)

* Create rust.yml

* Add build badge to README

* Fix readme badge link
This commit is contained in:
Andrew Jones
2020-03-06 12:14:55 +00:00
committed by GitHub
parent 8ea264d7b0
commit 626cf48df5
2 changed files with 20 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose