chore: fix CI workflow, golangci-lint config, and minor lint/format issues #92

Merged
wbtiger merged 1 commits from muel/gitlink-cli:chore/test-coverage-and-lint into master 2026-05-31 22:45:14 +08:00
Member

Summary

  • Add checkout and setup-go steps to Gitea CI workflow, use make targets
  • Exclude errcheck for test files in golangci-lint config
  • Fix staticcheck QF1002 (tagged switch) in repo_test.go
  • Fix gofmt trailing newline in triage_rules_test.go

Test plan

  • make check passes locally (fmt + vet + lint + test)
  • CI steps simulated: build, lint (0 issues), test (26 packages, -race), fmt
## Summary - Add checkout and setup-go steps to Gitea CI workflow, use make targets - Exclude errcheck for test files in golangci-lint config - Fix staticcheck QF1002 (tagged switch) in repo_test.go - Fix gofmt trailing newline in triage_rules_test.go ## Test plan - [x] make check passes locally (fmt + vet + lint + test) - [x] CI steps simulated: build, lint (0 issues), test (26 packages, -race), fmt
wbtiger added 1 commit 2026-05-31 22:45:05 +08:00
1bf16d31db chore: fix CI workflow, golangci-lint config, and minor lint/format issues
- Add checkout and setup-go steps to Gitea CI workflow, use make targets
- Exclude errcheck for test files in golangci-lint config
- Fix staticcheck QF1002 (tagged switch) in repo_test.go
- Fix gofmt trailing newline in triage_rules_test.go

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
wbtiger merged commit 687633d22f into master 2026-05-31 22:45:14 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#92
No description provided.