diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml new file mode 100644 index 0000000..828ec68 --- /dev/null +++ b/.github/workflows/rust-check.yml @@ -0,0 +1,28 @@ +name: rust-build + +on: + push: + branches: + - '*' + pull_request: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v2 + with: + submodules: true + - name: Install Rust + uses: hecrj/setup-rust-action@v2 + with: + rust-version: 'stable' + - name: Check + run: cargo check --verbose --tests --examples + - name: Run tests + run: cargo test --verbose \ No newline at end of file