Skip to content

Commit fa96332

Browse files
flake: Optimize Nix check inputs and CI smoke tests
Narrow flake source sets for generated parity, Rust package builds, and CLI formatting to reduce avoidable invalidation. Factor repeated Bun/Biome check derivations into shared helpers and preserve existing public check names and release outputs. Update PR CI to time Nix validation and smoke-test the already-built default package binary instead of invoking separate nix run evaluations. Co-authored-by: SCE <sce@crocoder.dev>
1 parent 4be9a92 commit fa96332

6 files changed

Lines changed: 527 additions & 121 deletions

File tree

.github/workflows/pr-ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ jobs:
4141
use-gha-cache: true
4242

4343
- name: Run flake checks
44-
run: nix flake check --print-build-logs
45-
46-
- name: Build default package
47-
run: nix build .#default --print-build-logs
44+
run: |
45+
time nix flake check --print-build-logs
4846
49-
- name: Smoke-test CLI
47+
- name: Build and smoke-test CLI
5048
run: |
51-
nix run .#sce -- --help
52-
nix run .#sce -- version
49+
time nix build .#default --out-link result --print-build-logs
50+
./result/bin/sce --help
51+
./result/bin/sce version

context/architecture.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

context/overview.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

context/patterns.md

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)