From 3c564a777463f868eecf6c9f26fab2050060b933 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Mon, 15 Aug 2022 00:04:06 +0100 Subject: [PATCH] ci: add build job --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..896592b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run clippy + run: cargo clippy --verbose