Rust implementation of OCI Distribution Spec with granular access control

ci: add fmt, clippy, and test steps to tangled pipeline

+14 -6
+14 -6
.tangled/workflows/build.yml
··· 10 10 nixpkgs: 11 11 - rustc 12 12 - cargo 13 + - rustfmt 14 + - clippy 13 15 - gcc 14 16 - pkg-config 15 - - curl 16 17 - skopeo 17 18 - umoci 18 - - jq 19 19 - bash 20 20 - coreutils 21 - - findutils 22 21 23 22 environment: 24 23 CARGO_HOME: ".cargo" 25 - BUILDAH_ISOLATION: "chroot" 26 24 27 25 steps: 26 + - name: "Check formatting" 27 + command: | 28 + cargo fmt --all -- --check 29 + 30 + - name: "Lint with Clippy" 31 + command: | 32 + cargo clippy --all-targets --all-features -- -D warnings 33 + 34 + - name: "Run tests" 35 + command: | 36 + cargo test 37 + 28 38 - name: "Build Rust binary" 29 39 command: | 30 - echo "Available environment variables:" 31 - env | grep -i tangled || echo "No TANGLED_ vars found" 32 40 cargo build --release 33 41 ls -lh target/release/grain target/release/grainctl 34 42