Skip to content

Conversation

@osteele
Copy link
Owner

@osteele osteele commented Nov 30, 2025

Summary

Consolidate three overlapping CI workflows into two cleaner ones:

Before

  • ci.yml (CI) - ran lint+vet+test+format on Ubuntu
  • go.yml (Build Status) - ran build+vet+test on 3 OS matrix + coverage
  • golangci-lint.yml (golangci-lint) - dedicated linting

After

  • test.yml (Test) - test on 3 OS, vet/format/verify-mod on Ubuntu, coverage on push
  • lint.yml (Lint) - dedicated linting with golangci-lint-action

Changes

  • Rename go.ymltest.yml, workflow name Build StatusTest
  • Rename golangci-lint.ymllint.yml, workflow name golangci-lintLint
  • Delete redundant ci.yml
  • Move vet from OS matrix to single Ubuntu job (per user request)
  • Move format-check job from ci.yml to test.yml

🤖 Generated with Claude Code

- Rename go.yml to test.yml (workflow name: Test)
- Rename golangci-lint.yml to lint.yml (workflow name: Lint)
- Delete redundant ci.yml
- Move vet from OS matrix to single Ubuntu job
- Move format-check from ci.yml to test.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates three overlapping GitHub Actions CI workflows into two cleaner, more maintainable workflows by eliminating redundancy and better organizing CI responsibilities.

  • Removes the redundant ci.yml workflow and distributes its functionality between the remaining workflows
  • Renames workflows for clarity: go.ymltest.yml (Build Status → Test) and golangci-lint.ymllint.yml (golangci-lint → Lint)
  • Optimizes CI execution by running static analysis tools (vet, format-check, verify-mod) only on Ubuntu instead of across the OS matrix

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/test.yml Renamed from go.yml; added dedicated jobs for vet, format-check, and verify-mod that run only on Ubuntu; moved test execution into the matrix job
.github/workflows/lint.yml Renamed from golangci-lint.yml; simplified job naming from golangci to lint for consistency
.github/workflows/ci.yml Deleted redundant workflow; its functionality (vet, format-check) migrated to test.yml while linting remains in lint.yml
Comments suppressed due to low confidence (1)

.github/workflows/test.yml:47

  • [nitpick] The go-version value should be consistently formatted across all workflows. In lint.yml it's quoted ('1.24.x') while here it's unquoted (1.24.x). While both formats work, using consistent formatting improves maintainability. Consider either adding quotes here to match lint.yml, or removing them from lint.yml to match this file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@osteele osteele merged commit f4219ce into main Nov 30, 2025
7 checks passed
@osteele osteele deleted the consolidate-ci-workflows branch November 30, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants