Add Rust formatting, Clippy, and ShellCheck gates to CI

オープン
#142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, rust, shell

調査の方向性

.github/workflows/ci.yml の 215-220 行付近から始め、check-copy-claims.sh を含むリポジトリのスクリプトを調査します。監査対象のスナップショットに対して cargo fmt --check、strict Clippy、ShellCheck を実行し、報告された指摘を確認します。固定された toolchain によるフォーマットの強制、明示的な Clippy ポリシー、ShellCheck のカバレッジ、そして固定されていない release 依存関係なしに対処可能な失敗が得られれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement github_actions priority: medium rust

Problem

CI runs Rust tests but does not enforce formatting or lint cleanliness. On the audited snapshot, cargo fmt --check reports widespread drift and strict Clippy reports five diagnostics; ShellCheck also reports a warning in check-copy-claims.sh.

Evidence: https://github.com/richardcase/clowder/blob/b5492d5/.github/workflows/ci.yml#L215-L220

Acceptance criteria

  • Add a pinned-toolchain cargo fmt --check job.
  • Add a deliberate Clippy policy and fix or explicitly allow current diagnostics.
  • Run ShellCheck for repository scripts.
  • Keep failures actionable and avoid making release checks dependent on unpinned toolchain changes.
主要言語
Rust
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

richardcase/clowder のほかの issue

richardcase/clowder の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。