Add CI (#5)
This commit is contained in:
parent
c37577f218
commit
9d725552e0
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: ci
|
||||
|
||||
on: push
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@master
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Clippy
|
||||
run: RUSTFLAGS="-Dwarnings" cargo clippy
|
||||
- name: Fmt
|
||||
run: cargo fmt -- --check
|
Loading…
Reference in New Issue
Block a user