diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..afa5476 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] + +name: CI + +jobs: + build_and_test: + name: Rust project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release --all-features + - uses: actions-rs/cargo@v1 + with: + command: clippy + - uses: actions-rs/cargo@v1 + with: + command: test \ No newline at end of file