Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb722f1

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parentb25a342 commitbb722f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/copilot-instructions.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is the **GitHub MCP Server**, a Model Context Protocol (MCP) server that co
2626

2727
**ALWAYS run these commands in this exact order before using report_progress or finishing work:**
2828

29-
1.**Format Code:**`script/lint` (thisruns`gofmt -s -w .` then`golangci-lint`)
29+
1.**Format Code:**`script/lint` (runs`gofmt -s -w .` then`golangci-lint`)
3030
2.**Run Tests:**`script/test` (runs`go test -race ./...`)
3131
3.**Update Documentation:**`script/generate-docs` (if you modified MCP tools/toolsets)
3232

@@ -115,7 +115,7 @@ go test ./pkg/github -run TestGetMe
115115
All workflows run on push/PR unless noted. Located in`.github/workflows/`:
116116

117117
1.**go.yml** - Build and test on ubuntu/windows/macos. Runs`script/test` and builds binary
118-
2.**lint.yml** - Runs golangci-lint v2.5 with actions/setup-go stable
118+
2.**lint.yml** - Runs golangci-lint-action v2.5 (GitHub Action) with actions/setup-go stable
119119
3.**docs-check.yml** - Verifies README.md is up-to-date by running generate-docs and checking git diff
120120
4.**code-scanning.yml** - CodeQL security analysis for Go and GitHub Actions
121121
5.**license-check.yml** - Runs`script/licenses-check` to validate compliance
@@ -160,7 +160,7 @@ All workflows run on push/PR unless noted. Located in `.github/workflows/`:
160160
###Go Code Requirements
161161

162162
-**gofmt with simplify flag (-s)** - Automatically run by`script/lint`
163-
-**golangci-lint v2.5.0** with these linters enabled:
163+
-**golangci-lint** with these linters enabled:
164164
- bodyclose, gocritic, gosec, makezero, misspell, nakedret, revive
165165
- errcheck, staticcheck, govet, ineffassign, unused
166166
- Exclusions for: third_party/, builtin/, examples/, generated code

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp