From 4dedc54d2f974cf07e437a2607a058160618ed55 Mon Sep 17 00:00:00 2001 From: tobinio Date: Mon, 6 Apr 2026 08:35:21 +0200 Subject: [PATCH] add tangled ci workflow --- .tangled/workflows/lint.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .tangled/workflows/lint.yml diff --git a/.tangled/workflows/lint.yml b/.tangled/workflows/lint.yml new file mode 100644 index 0000000..64cf1b4 --- /dev/null +++ b/.tangled/workflows/lint.yml @@ -0,0 +1,31 @@ +when: + - event: ["push", "manual"] + branch: ["main"] + - event: ["pull_request"] + branch: ["main"] + +engine: "nixery" + +dependencies: + nixpkgs: + - cargo + - rustc + - rustfmt + - clippy + - clang + +steps: + - name: "Build" + command: "cargo build" + + - name: "Check" + command: "cargo check --all-targets --all-features" + + - name: "Test" + command: "cargo test --all-features" + + - name: "Format" + command: "cargo fmt --all -- --check" + + - name: "Lint" + command: "cargo clippy --all-targets --all-features -- -D warnings" -- 2.51.2