From e693dec7a8b5d1cfc05a8e07e0d9f0b0104761e7 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sat, 19 Oct 2019 15:35:17 +0100 Subject: [PATCH] Add github actions to the project --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..0eee5e1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +on: [push] + +name: CI + +jobs: + build_and_test: + name: Rust project + runs-on: ubuntu-latest + env: + RUST_BACKTRACE: "1" + steps: + - uses: actions/checkout@master + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Test + uses: actions-rs/cargo@v1 + with: + command: test