From 0a8087b85d676194c95fa2e652c7642c72d59e6d Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 19 Sep 2025 21:08:31 -0400 Subject: [PATCH] cc(ci): Update --- modules/home/claude-code/commands/ci.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/home/claude-code/commands/ci.md b/modules/home/claude-code/commands/ci.md index 35442c8..ae5d0bf 100644 --- a/modules/home/claude-code/commands/ci.md +++ b/modules/home/claude-code/commands/ci.md @@ -3,20 +3,22 @@ name: ci description: Run local CI using omnix --- -This command runs local continuous integration checks using omnix. - -**IMPORTANT**: `om ci` will run full CI, thus takes a lot of time. Use only when necessary. +This command runs the Nix project using omnix. Steps: -1. Run `om ci` to execute all CI checks locally +1. Run `git add` to add any untracked files added by you **DO NOT COMMIT** changes. +2. Run `pre-commit run -a` to autoformat. +3. Run `om ci` to do a full build. + +If `om ci` fails, fix all issues. This will: - Build all flake outputs, which includes: - - Run tests + - Run tests - Check formatting - Validate flake structure - Perform other CI validations Prerequisites: - Must be in a flake-enabled project directory -- omnix (`om`) must be available in the environment \ No newline at end of file +- omnix (`om`) must be available in the environment