Add cargo fmt and clippy to CI

Đã đóng
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Một pull request liên quan đã được merge.

  • #119 của @CakeRepository — đã merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, rust
Lĩnh vực
ci-cd

Hướng nghiên cứu

Start by running cargo fmt --check and cargo clippy --all-targets -- -D warnings to record the current failures. If formatting affects many files, make that a separate pull request; otherwise fix or explicitly allow the clippy findings. Add both commands as required checks in .github/workflows/ci.yml, then run them again to confirm the workflow is complete.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement help wanted

CI builds and tests, but doesn't check formatting or lints, because nobody has found out yet whether the code passes them.

Done means:

  • Find out what cargo fmt --check and cargo clippy --all-targets -- -D warnings report today
  • If formatting touches a lot of files, do that alone in one pull request, with no other change, so review stays easy
  • Fix or explicitly allow what clippy finds
  • Add both to .github/workflows/ci.yml as checks that must pass
Ngôn ngữ chính
Rust
Star
2
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CakeRepository/agentshangout

Tất cả issue của CakeRepository/agentshangout

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.