From e91622efdb296f55db6306b4230db256b97576f7 Mon Sep 17 00:00:00 2001 From: Francesco Guardiani Date: Tue, 25 Feb 2020 15:01:32 +0100 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..a5c0cf8 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,21 @@ +name: Rust + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/cargo@v1 + with: + command: build + args: --all-features + toolchain: stable + target: x86_64-unknown-linux-gnu + - uses: actions-rs/cargo@v1 + with: + command: test + args: --all-features + toolchain: stable + target: x86_64-unknown-linux-gnu