From e9acceb4116729fd2941e76997e470827eb9b4cb Mon Sep 17 00:00:00 2001 From: orgoldfus Date: Wed, 20 May 2026 13:08:40 +0300 Subject: [PATCH] Add basic ci workflow to validate the code on each PR --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..26b881d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + pull_request: + +jobs: + build-and-test: + name: Build and test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Build + run: cargo build --verbose + + - name: Test + run: cargo test --verbose