From ae130b7b63829a06f661f25aec37c7a7c91b651c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A2ris=20DOUADY?= Date: Sat, 30 Nov 2024 09:35:17 +0100 Subject: [PATCH] add github ci --- .github/workflows/rust-check.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/rust-check.yml diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml new file mode 100644 index 0000000..cec1c02 --- /dev/null +++ b/.github/workflows/rust-check.yml @@ -0,0 +1,26 @@ +name: rust-build + +on: + push: + branches: + - '*' + pull_request: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v2 + - 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