tweak CI (#35)

This commit is contained in:
Carl Lerche
2020-04-15 13:14:51 -07:00
committed by GitHub
parent f855dc5d50
commit f17525569c

24
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI
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
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check