From dffd55ecef36d2934513b68f10809ceab7bc4289 Mon Sep 17 00:00:00 2001 From: Artem Muterko Date: Mon, 30 Mar 2026 16:31:14 +0200 Subject: [PATCH 1/3] fix(docs): fix ListUsers formatting, Go version, and grammar Signed-off-by: Artem Muterko --- README.md | 2 +- internal/cmdutils/cmdutils.go | 2 +- internal/storetest/testresult.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4ab46e96..e4f32607 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Download the pre-compiled binaries from the [releases page](https://github.com/o ## Building from Source -Make sure you have Go 1.20 or later installed. See the [Go downloads](https://go.dev/dl/) page. +Make sure you have Go 1.25 or later installed. See the [Go downloads](https://go.dev/dl/) page. 1. Clone the repo to a local directory, and navigate to that directory: diff --git a/internal/cmdutils/cmdutils.go b/internal/cmdutils/cmdutils.go index 5ac4719c..8f75d554 100644 --- a/internal/cmdutils/cmdutils.go +++ b/internal/cmdutils/cmdutils.go @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package cmdutils contains utility and common functions that interaction with the input +// Package cmdutils contains utility and common functions that interact with the input // such as reading or binding flags package cmdutils diff --git a/internal/storetest/testresult.go b/internal/storetest/testresult.go index 62a55add..5a7c6de1 100644 --- a/internal/storetest/testresult.go +++ b/internal/storetest/testresult.go @@ -261,7 +261,7 @@ func buildTestResultOutput(result TestResult, totalCheckCount int, failedCheckCo } if totalListUsersCount > 0 { - output += fmt.Sprintf("ListUsers(%d/%d passing)", + output += fmt.Sprintf("ListUsers (%d/%d passing)", totalListUsersCount-failedListUsersCount, totalListUsersCount) } From 82d8f95b86adb2da9007bb600220861b70e7dd33 Mon Sep 17 00:00:00 2001 From: Anurag Bandyopadhyay Date: Wed, 8 Jul 2026 22:56:44 +0530 Subject: [PATCH 2/3] fix: update .dev.Dockerfile to Go 1.25 for version consistency --- .dev.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev.Dockerfile b/.dev.Dockerfile index 02e6d0d9..9ab90f9e 100644 --- a/.dev.Dockerfile +++ b/.dev.Dockerfile @@ -1,4 +1,4 @@ -FROM cgr.dev/chainguard/go:1.20@sha256:8454bbbb4061bd8fed6ce0b6de0d08c0a6037fe33e136b3f16dba31a68b9b3b6 AS builder +FROM cgr.dev/chainguard/go:1.25 AS builder WORKDIR /app From 88e8f4c74e027c88cd739881e26983c14da08b6c Mon Sep 17 00:00:00 2001 From: Anurag Bandyopadhyay Date: Wed, 8 Jul 2026 22:58:58 +0530 Subject: [PATCH 3/3] fix: Update Go toolchain version to 1.26.5 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index c6788ef7..0bed1b85 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/openfga/cli go 1.25.7 -toolchain go1.26.4 +toolchain go1.26.5 require ( github.com/mattn/go-isatty v0.0.22