CI: build and test (#1)

This commit is contained in:
Matthew Ryan Dillon 2020-09-23 08:23:09 -07:00 committed by GitHub
parent 199bf37638
commit 056471c0eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 68 deletions

20
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: ci
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: test
run: cargo test --verbose