From e4d9af1e1c1d8ffcc997920f5030db76775ce43d Mon Sep 17 00:00:00 2001 From: fa-sharp Date: Tue, 26 May 2026 03:05:13 -0400 Subject: [PATCH] add CI --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..b17727d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + +env: + RUST_VERSION: "1.90" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Install Rust toolchain + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ env.RUST_VERSION }} + + - name: cargo check + run: cargo check --examples + + - name: cargo build + run: cargo build --examples