Lint on push (#465)

Rust rustfmt and clippy on push
This commit is contained in:
강동윤 2019-11-24 22:01:47 +09:00 committed by GitHub
parent fc9880e4f4
commit 9eab72f99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --all