From 91bd5f6a9b2dd5d62f2e55f9ab86ab107a69ccf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 7 Sep 2019 15:14:39 +0100 Subject: [PATCH] Add github action --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f17faeb --- /dev/null +++ b/.github/workflows/test.yml @@ -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"