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