From 9d725552e02b2f3d51f2633b2ea44c633a716273 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Mon, 20 Dec 2021 16:48:29 +0000 Subject: [PATCH] Add CI (#5) --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6e83b35 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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