diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 0000000..2ac31bb --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,23 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +name: Build and test + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Build and test + run: | + cargo build --release + cargo test + \ No newline at end of file