diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..cef24df --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Rust Test + +on: [push] + +jobs: + build: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + + - name: Build and test + run: | + cargo build --verbose + cargo test --verbose