Skip to content

Move CI lint job to the curb GitHub Action - #3953

Merged
Mpdreamz merged 1 commit into
mainfrom
lint-curb-action
Aug 27, 2026
Merged

Move CI lint job to the curb GitHub Action#3953
Mpdreamz merged 1 commit into
mainfrom
lint-curb-action

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

Why

Now that #3904 migrated the formatting toolchain from dotnet format to curb, the lint CI job no longer needs a full .NET SDK bootstrap (tool restore, Node setup, etc.) just to run a formatting check — curb ships as a pre-built container image via its own GitHub Action.

What

  • lint job in .github/workflows/ci.yml now uses nullean/curb (pinned to the 0.7.1 commit SHA, per this repo's zizmor policy for non-actions/*/elastic/* actions) instead of checking out the repo, bootstrapping .NET/Node, and running ./build.sh lint.
  • Updated CONTRIBUTING.md's Husky.Net section, which still described dotnet-lint as a pre-push hook running dotnet format --verify-no-changesMigrate formatting toolchain from dotnet format to curb #3904 had already moved it to a pre-commit hook running dotnet curb check, but the docs weren't updated to match.

Made with Cursor

Replaces the dotnet-bootstrap-and-run-build-script lint step with
nullean/curb's pre-built container action, so the job no longer needs
the .NET SDK, tool restore, or Node setup just to check formatting.
Also updates CONTRIBUTING.md's Husky.Net docs, which still described
dotnet-lint as a pre-push dotnet-format hook after #3904 moved it to a
pre-commit curb hook.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner August 27, 2026 16:13
@Mpdreamz Mpdreamz added the automation packaging, ci/cd. label Aug 27, 2026
@Mpdreamz
Mpdreamz requested a review from reakaleek August 27, 2026 16:13
@Mpdreamz Mpdreamz added the automation packaging, ci/cd. label Aug 27, 2026
@Mpdreamz

Copy link
Copy Markdown
Member Author

@reakaleek @theletterf getting this one in as well.

@Mpdreamz
Mpdreamz merged commit d359bbe into main Aug 27, 2026
37 of 38 checks passed
@Mpdreamz
Mpdreamz deleted the lint-curb-action branch August 27, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation packaging, ci/cd.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant