From 89bdfc8d422b53790855bd6ad97e367d9b7db317 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 24 Mar 2026 13:05:33 +0100 Subject: [PATCH] Add CI workflow --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..5f78388 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci + +on: [pull_request, push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: install Rust toolchain + run: rustup show active-toolchain || rustup toolchain install + - name: check + run: | + cargo check --workspace --all-features --all-targets + - name: test + run: | + cargo test --all-features --workspace + - name: lint + run: | + cargo fmt --check --all + cargo clippy --workspace --all-features --all-targets -- -Dwarnings + RUSTDOCFLAGS='-Dwarnings' cargo doc --workspace --all-features --no-deps