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 diff --git a/README.md b/README.md index fb099e95..621a0af7 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,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/go.mod b/go.mod index 3409cd7a..2d5d8214 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 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) }