Skip to content

fix: code quality fixes and release automation for v0.8.0#14

Merged
JoseThen merged 2 commits intomainfrom
comb-over
Feb 19, 2026
Merged

fix: code quality fixes and release automation for v0.8.0#14
JoseThen merged 2 commits intomainfrom
comb-over

Conversation

@JoseThen
Copy link
Owner

@JoseThen JoseThen commented Feb 19, 2026

Note: This was built with help from OpenCode and Sonnect 4.6

  • Fix typo: Lantency -> Latency in CheckupResults struct and all usages
  • Replace deprecated ioutil.ReadFile with os.ReadFile
  • Enable darwin arm64 builds in makefile, bump version to 0.8.0
  • Update prs.yml to use modern action versions (checkout@v4, setup-go@v5, setup-python@v5, pre-commit@v3)
  • Fix README asset path from ./assets/gopher.png to ./Images/gopher.png
  • Add release.yml: cross-compiles all platforms on version tag push and publishes GitHub Release with all binaries

- Fix typo: Lantency -> Latency in CheckupResults struct and all usages
- Replace deprecated ioutil.ReadFile with os.ReadFile
- Enable darwin arm64 builds in makefile, bump version to 0.8.0
- Update prs.yml to use modern action versions (checkout@v4, setup-go@v5, setup-python@v5, pre-commit@v3)
- Fix README asset path from ./assets/gopher.png to ./Images/gopher.png
- Add release.yml: cross-compiles all platforms on version tag push and publishes GitHub Release with all binaries
Copilot AI review requested due to automatic review settings February 19, 2026 02:37
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 addresses code quality issues and introduces release automation for version 0.8.0. The changes include fixing a typo in the codebase (Lantency → Latency), modernizing deprecated API usage (ioutil.ReadFile → os.ReadFile), enabling Darwin ARM64 builds, updating GitHub Actions to current versions, and adding automated release workflows.

Changes:

  • Fixed typo: renamed Lantency to Latency throughout the codebase (struct field and all usages)
  • Modernized Go API: replaced deprecated ioutil.ReadFile with os.ReadFile
  • Version bump to 0.8.0 and enabled Darwin ARM64 builds in makefile
  • Updated GitHub Actions to modern versions (checkout@v4, setup-go@v5, setup-python@v5, pre-commit@v3)
  • Added release.yml workflow for automated cross-platform builds and GitHub releases
  • Updated README.md image path (contains error - see review comments)

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
utils/checkup.go Fixed typo in CheckupResults struct field name (Lantency → Latency)
utils/styledOutput.go Updated field access to use corrected Latency field name
utils/ReadExam.go Replaced deprecated ioutil.ReadFile with os.ReadFile, updated import
makefile Bumped version to 0.8.0, enabled darwin arm64 build (uncommented line)
README.md Changed gopher.png image path from ./assets/ to ./Images/ (incorrect)
.github/workflows/release.yml Added new automated release workflow with cross-platform builds
.github/workflows/prs.yml Updated GitHub Actions to modern versions, standardized Go version

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JoseThen JoseThen merged commit be6c664 into main Feb 19, 2026
2 checks passed
@JoseThen JoseThen deleted the comb-over branch February 19, 2026 02:59
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