Added workflow for building and testing.

This commit is contained in:
Zenithsiz
2020-05-13 03:23:06 +01:00
committed by GitHub
parent e02b410524
commit 7c46cb5797

19
.github/workflows/rust.yml vendored Normal file
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: Clippy
run: cargo clippy --verbose
- name: Run tests
run: cargo test --verbose