This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-gateway.git


The following commit(s) were added to refs/heads/master by this push:
     new 871cd1b  chore: bump Go to 1.25.8 everywhere
871cd1b is described below

commit 871cd1b638258dd11ffadb3d25abaf8b58e71179
Author: Yang Luo <[email protected]>
AuthorDate: Sat Sep 5 12:00:58 2026 +0800

    chore: bump Go to 1.25.8 everywhere
---
 .github/workflows/build.yml         | 6 +++---
 .github/workflows/golangci-lint.yml | 2 +-
 .github/workflows/nightly.yml       | 2 +-
 .golangci.yml                       | 3 +--
 Dockerfile                          | 2 +-
 README.md                           | 2 +-
 README_zh.md                        | 2 +-
 desktop/go.mod                      | 4 +++-
 go.mod                              | 4 +++-
 9 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9517fae..4814151 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,7 +17,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v4
         with:
-          go-version: '1.20.0'
+          go-version: '1.25.8'
           cache-dependency-path: ./go.mod
       - name: Tests
         run: |
@@ -46,7 +46,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v4
         with:
-          go-version: '1.20.0'
+          go-version: '1.25.8'
           cache-dependency-path: ./go.mod
       - run: go version
       - name: Build
@@ -74,7 +74,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-go@v5
         with:
-          go-version: '1.21'
+          go-version: '1.25.8'
           cache-dependency-path: ./desktop/go.mod
 
       # webview_go asks pkg-config for webkit2gtk-4.0, which this Ubuntu no
diff --git a/.github/workflows/golangci-lint.yml 
b/.github/workflows/golangci-lint.yml
index 79039f2..541ec2b 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -25,7 +25,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v5
         with:
-          go-version: '1.21'
+          go-version: '1.25.8'
 
       - name: golangci-lint
         uses: golangci/golangci-lint-action@v8
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 4cba66d..8419aae 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -22,7 +22,7 @@ concurrency:
   cancel-in-progress: false
 
 env:
-  GO_VERSION: "1.25"
+  GO_VERSION: "1.25.8"
   BASENAME: casbin-gateway-nightly
 
 jobs:
diff --git a/.golangci.yml b/.golangci.yml
index ac5dd08..c54a92e 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -8,8 +8,7 @@ linters:
   settings:
     govet:
       disable:
-        # Reports every stdlib call that the newer toolchain golangci-lint is
-        # built with cannot inline into a "go 1.20" file. Not actionable here.
+        # Reports every stdlib call the toolchain cannot inline. Not 
actionable here.
         - inline
 
 formatters:
diff --git a/Dockerfile b/Dockerfile
index a6d64f1..c3bb35a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ WORKDIR /web
 COPY ./web .
 RUN yarn install --frozen-lockfile --network-timeout 1000000 && yarn build
 
-FROM golang:1.20.12 AS BACK
+FROM golang:1.25.8 AS BACK
 WORKDIR /go/src/casbin-gateway
 COPY . .
 RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o server .
diff --git a/README.md b/README.md
index 93c040d..123f118 100644
--- a/README.md
+++ b/README.md
@@ -416,7 +416,7 @@ The cost next to each record uses list prices, which 
vendors change and reseller
 
 ### Prerequisites
 
-Go 1.20+, and Node.js with Yarn.
+Go 1.25+, and Node.js with Yarn.
 
 ### Run from source
 
diff --git a/README_zh.md b/README_zh.md
index c900853..6d248a0 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -410,7 +410,7 @@ llmRecordMaxPayloadBytes = 1048576
 
 ### 环境要求
 
-Go 1.20+,以及带 Yarn 的 Node.js。
+Go 1.25+,以及带Yarn的Node.js。
 
 ### 从源码运行
 
diff --git a/desktop/go.mod b/desktop/go.mod
index d76c519..a33cf06 100644
--- a/desktop/go.mod
+++ b/desktop/go.mod
@@ -1,6 +1,8 @@
 module github.com/apache/casbin-gateway/desktop
 
-go 1.21
+go 1.25.0
+
+toolchain go1.25.8
 
 require (
        fyne.io/systray v1.12.2
diff --git a/go.mod b/go.mod
index a3f7392..d031984 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,8 @@
 module github.com/apache/casbin-gateway
 
-go 1.20
+go 1.25.0
+
+toolchain go1.25.8
 
 require (
        github.com/BurntSushi/toml v0.3.1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to