Add github action
This commit is contained in:
parent
a0bea5ef3e
commit
91bd5f6a9b
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
Normal file
12
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name: Test
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: cyplo/rust-action@master
|
||||||
|
with:
|
||||||
|
args: "cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test"
|
Loading…
Reference in a new issue