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