Skip to content

Navigation Menu

Sign in
Sign up

ci: fix SonarCloud S8549 in cross-platform and MSRV workflows - #272

Draft
cursor[bot] wants to merge 1 commit into
claude/fervent-einstein-dyhv0b from
cursor/ci-autofix-sonarcloud-pr271
Draft

ci: fix SonarCloud S8549 in cross-platform and MSRV workflows #272
cursor[bot] wants to merge 1 commit into
claude/fervent-einstein-dyhv0b from
cursor/ci-autofix-sonarcloud-pr271

Conversation

@cursor

@cursor cursor Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes SonarCloud quality gate failure on PR #271 (new_security_rating dropped to C).

SonarCloud rule githubactions:S8549 flagged cargo build steps in the new cross-platform and MSRV workflows for not enforcing locked dependency versions.

Changes

  • Generate Cargo.lock in CI via cargo generate-lockfile before builds
  • Pass --locked to all cargo build invocations in .github/workflows/cross-platform.yml and .github/workflows/msrv.yml

Testing

CI should re-run SonarCloud analysis and clear the four githubactions:S8549 findings.

SonarCloud githubactions:S8549 flags cargo build without lockfile
enforcement. Generate Cargo.lock in CI and pass --locked so dependency
versions cannot drift silently during the build step.
Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 3b037f7f-29cc-4508-8aa1-3d6b655c0097

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /