Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.25.x"
go-version: "1.26.6"
cache: true

- name: Check formatting
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,9 @@ need Go or Codexometer's source dependencies.
## Versioning

Codexometer follows semantic versioning; the current source version is
`v0.7.4`. The Git tag is the release source of truth. Go automatically embeds
`v0.7.5`. The Git tag is the release source of truth. Go automatically embeds
that tag in binaries built with
`go install github.com/merefield/codexometer@v0.7.4`; direct source builds fall
`go install github.com/merefield/codexometer@v0.7.5`; direct source builds fall
back to the maintained value in `internal/version/version.go`.

Both forms report the embedded version and exit without starting the interface:
Expand All @@ -1031,7 +1031,7 @@ codexometer --version
Release automation can override the source-build fallback without editing code:

```sh
go build -ldflags="-s -w -X github.com/merefield/codexometer/internal/version.Fallback=0.7.4" .
go build -ldflags="-s -w -X github.com/merefield/codexometer/internal/version.Fallback=0.7.5" .
```

## How refresh works
Expand Down Expand Up @@ -1125,7 +1125,7 @@ go test -cover ./...

Codexometer uses:

- Go 1.25+
- Go 1.26.6+
- Bubble Tea for the terminal event loop
- Lip Gloss for adaptive ANSI styling
- Starlark for deterministic, hermetic benchmark-code evaluation
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/merefield/codexometer

go 1.25.0
go 1.26.6

require (
github.com/charmbracelet/bubbletea v1.2.4
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// checkout. Release automation may override it with:
//
// -X github.com/merefield/codexometer/internal/version.Fallback=1.2.3
var Fallback = "0.7.4"
var Fallback = "0.7.5"

// Current returns the module version embedded by Go for tagged installs, or
// Fallback for ordinary source builds. The leading tag prefix is omitted so
Expand Down
6 changes: 3 additions & 3 deletions internal/version/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import "testing"

func TestCurrentReportsMaintainedFallbackForSourceBuild(t *testing.T) {
got := Current()
if got != "0.7.4" {
t.Fatalf("Current() = %q, want 0.7.4", got)
if got != "0.7.5" {
t.Fatalf("Current() = %q, want 0.7.5", got)
}
}

Expand All @@ -18,7 +18,7 @@ func TestSelectVersion(t *testing.T) {
}{
{name: "tagged install", module: "v1.2.3", fallback: "0.2.0", want: "1.2.3"},
{name: "development build", module: "(devel)", fallback: "v0.2.0", want: "0.2.0"},
{name: "Go 1.25 source pseudo-version", module: "v0.0.0-20260811151632-815179a0b2e7+dirty", fallback: "0.2.0", want: "0.2.0"},
{name: "source pseudo-version", module: "v0.0.0-20260811151632-815179a0b2e7+dirty", fallback: "0.2.0", want: "0.2.0"},
{name: "pre-release tag", module: "v1.2.3-rc.1", fallback: "0.2.0", want: "1.2.3-rc.1"},
}
for _, test := range tests {
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestRunVersion(t *testing.T) {
for _, flag := range []string{"-v", "--version"} {
var stdout, stderr bytes.Buffer
code := run([]string{flag}, &stdout, &stderr, dependencies{})
if code != 0 || stdout.String() != "codexometer v0.7.4\n" || stderr.Len() != 0 {
if code != 0 || stdout.String() != "codexometer v0.7.5\n" || stderr.Len() != 0 {
t.Errorf("flag=%s code=%d stdout=%q stderr=%q", flag, code, stdout.String(), stderr.String())
}
}
Expand Down
Loading