Add github action

This commit is contained in:
Cyryl Płotnicki 2019-09-07 15:14:39 +01:00
parent a0bea5ef3e
commit 91bd5f6a9b

12
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: Test
on: [push]
jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: cyplo/rust-action@master
with:
args: "cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test"