diff --git a/README.md b/README.md index 7fa64e98d..037b7b628 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
-
+
@@ -76,7 +76,7 @@ irm https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.ps1 | ie
### From source
-Source builds require Go 1.26.6+.
+Source builds require Go 1.26.9+.
```bash
git clone https://github.com/Gitlawb/zero.git
diff --git a/README_ZH.md b/README_ZH.md
index 9ff7f7b84..c91d45458 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -6,7 +6,7 @@
-
+
@@ -57,7 +57,7 @@ irm https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.ps1 | ie
### 从源码构建
-源码构建需要 Go 1.26.6+。
+源码构建需要 Go 1.26.9+。
```bash
git clone https://github.com/Gitlawb/zero.git
diff --git a/docs/INSTALL.md b/docs/INSTALL.md
index d0163169b..2126d2fb3 100644
--- a/docs/INSTALL.md
+++ b/docs/INSTALL.md
@@ -153,7 +153,7 @@ describe a version that is no longer on disk. Prefer `mise upgrade`.
go install github.com/Gitlawb/zero/cmd/zero@latest
```
-This builds from source, so it needs Go 1.26.6+ and it does not go through the
+This builds from source, so it needs Go 1.26.9+ and it does not go through the
release archives. Two consequences worth knowing before you pick it:
- On Linux you also need the sandbox helper, which is a separate binary and is
@@ -180,7 +180,7 @@ Build a local binary:
go build -o zero ./cmd/zero
```
-Source builds require Go 1.26.6+.
+Source builds require Go 1.26.9+.
### Sandbox Helpers For Source Builds
diff --git a/go.mod b/go.mod
index 18abcd401..dd2ef6a9a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/Gitlawb/zero
-go 1.26.6
+go 1.26.9
require (
charm.land/bubbles/v2 v2.1.1
diff --git a/internal/cli/cron_claim_test.go b/internal/cli/cron_claim_test.go
index 51bb6fad1..f811fcd0c 100644
--- a/internal/cli/cron_claim_test.go
+++ b/internal/cli/cron_claim_test.go
@@ -108,7 +108,7 @@ func TestFireJobOverlappingAdjacentSlots(t *testing.T) {
t.Fatalf("already claimed slot became available: claimed=%v err=%v", claimed, err)
}
}
- runs, err := stores[0].Runs(job.ID)
+ runs, err := stores[0].Runs(job.ID, 0)
if err != nil || len(runs) != 2 {
t.Fatalf("runs=%v err=%v", runs, err)
}
@@ -150,7 +150,7 @@ func TestFireJobCompletionReadErrorDoesNotOverwriteState(t *testing.T) {
if want := "fired " + job.ID + " -> exit 0 (next: unknown)\n"; stdout.String() != want {
t.Fatalf("completion summary = %q; want %q", stdout.String(), want)
}
- runs, err := store.Runs(job.ID)
+ runs, err := store.Runs(job.ID, 0)
if err != nil || len(runs) != 1 || runs[0].ExitCode != 0 {
t.Fatalf("execution should still be recorded: runs=%v err=%v", runs, err)
}