From 4f34257f7abd85889cefadb4adc3d87357415d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sat, 31 Aug 2019 20:19:25 -0700 Subject: [PATCH] meta: GH-based build --- .github/workflows/rust.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..751cb76 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,19 @@ +name: Rust + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Components + run: rustup component add clippy + - name: Build + run: cargo build --verbose + - name: Clippy + run: cargo clippy -- -D warnings + - name: Run tests + run: cargo test --verbose