diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..c820d2f --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,25 @@ +name: tests + +on: + push: + branches: + - master + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Install rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Check project + uses: actions-rs/cargo@v1 + with: + command: check + - name: Run tests + uses: actions-rs/cargo@v1 + with: + command: test