this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: create spindle CI workflow #1

open opened by patrick.jackson.dev targeting main from tangled-ci
  • rust.yml: cargo build/test/fmt/clippy on push and pull_request
  • nix.yml: flake-based fmt/treefmt/deny/clippy/doc/test/build/static-musl
  • security-audit.yml: manual cargo-deny advisories check

Spindle does not yet support scheduled triggers or matrix builds, so the weekly security audit becomes manual and the architecture matrix from the GitHub nix.yml is dropped (single arch on the spindle).

Workflows specific to GitHub services (codeberg mirror, snap publish, release-plz) are intentionally not translated.

Assisted-by: Claude Opus 4.7 (code generation)

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:a6u5ithb5unccfzovf4hp6hl/sh.tangled.repo.pull/3mktk6agco422
+92
Diff #0
+44
.tangled/workflows/nix.yml
··· 1 + when: 2 + - event: ["push"] 3 + branch: ["main"] 4 + - event: ["pull_request"] 5 + branch: ["main"] 6 + 7 + engine: nixery 8 + 9 + dependencies: 10 + nixpkgs: 11 + - nix 12 + - git 13 + 14 + environment: 15 + NIX_CONFIG: | 16 + experimental-features = nix-command flakes 17 + 18 + steps: 19 + - name: Format 20 + command: nix build -L .#fmt 21 + 22 + - name: Format non-Rust (treefmt) 23 + command: nix build -L .#checks.x86_64-linux.treefmt 24 + 25 + - name: Deny (licenses + bans + sources) 26 + command: nix build -L .#deny 27 + 28 + - name: Clippy 29 + command: nix build -L .#clippy 30 + 31 + - name: Build docs 32 + command: nix build -L .#doc 33 + 34 + - name: Test 35 + command: nix build -L .#test 36 + 37 + - name: Build cmprss 38 + command: nix build -L .#cmprss 39 + 40 + - name: Build static musl binary 41 + command: nix build -L .#cmprss-static 42 + 43 + - name: Forgotten checks 44 + command: nix flake check
+32
.tangled/workflows/rust.yml
··· 1 + when: 2 + - event: ["push"] 3 + branch: ["main"] 4 + - event: ["pull_request"] 5 + branch: ["main"] 6 + 7 + engine: nixery 8 + 9 + dependencies: 10 + nixpkgs: 11 + - cargo 12 + - rustc 13 + - clippy 14 + - rustfmt 15 + - gcc 16 + - pkg-config 17 + 18 + environment: 19 + CARGO_TERM_COLOR: always 20 + 21 + steps: 22 + - name: Build 23 + command: cargo build 24 + 25 + - name: Test 26 + command: cargo test 27 + 28 + - name: Format 29 + command: cargo fmt -- --check 30 + 31 + - name: Clippy 32 + command: cargo clippy -- -D warnings
+16
.tangled/workflows/security-audit.yml
··· 1 + # Manual cargo-deny advisory check against the RustSec Advisory Database. 2 + # Spindle does not currently support scheduled triggers, so run this manually 3 + # from the pipelines page when checking for new advisories. 4 + 5 + when: 6 + - event: ["manual"] 7 + 8 + engine: nixery 9 + 10 + dependencies: 11 + nixpkgs: 12 + - cargo-deny 13 + 14 + steps: 15 + - name: Check advisories 16 + command: cargo deny check advisories

History

1 round 0 comments
sign up or login to add to the discussion
1 commit
expand
ci(tangled): add spindle workflows mirroring GitHub Actions
merge conflicts detected
expand
expand 0 comments