Skip to content

Commit 871cd1b

Browse files
committed
chore: bump Go to 1.25.8 everywhere
1 parent b7a13cb commit 871cd1b

9 files changed

Lines changed: 15 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-go@v4
1919
with:
20-
go-version: '1.20.0'
20+
go-version: '1.25.8'
2121
cache-dependency-path: ./go.mod
2222
- name: Tests
2323
run: |
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v3
4747
- uses: actions/setup-go@v4
4848
with:
49-
go-version: '1.20.0'
49+
go-version: '1.25.8'
5050
cache-dependency-path: ./go.mod
5151
- run: go version
5252
- name: Build
@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/checkout@v4
7575
- uses: actions/setup-go@v5
7676
with:
77-
go-version: '1.21'
77+
go-version: '1.25.8'
7878
cache-dependency-path: ./desktop/go.mod
7979

8080
# webview_go asks pkg-config for webkit2gtk-4.0, which this Ubuntu no

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v5
2727
with:
28-
go-version: '1.21'
28+
go-version: '1.25.8'
2929

3030
- name: golangci-lint
3131
uses: golangci/golangci-lint-action@v8

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
cancel-in-progress: false
2323

2424
env:
25-
GO_VERSION: "1.25"
25+
GO_VERSION: "1.25.8"
2626
BASENAME: casbin-gateway-nightly
2727

2828
jobs:

.golangci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ linters:
88
settings:
99
govet:
1010
disable:
11-
# Reports every stdlib call that the newer toolchain golangci-lint is
12-
# built with cannot inline into a "go 1.20" file. Not actionable here.
11+
# Reports every stdlib call the toolchain cannot inline. Not actionable here.
1312
- inline
1413

1514
formatters:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ WORKDIR /web
33
COPY ./web .
44
RUN yarn install --frozen-lockfile --network-timeout 1000000 && yarn build
55

6-
FROM golang:1.20.12 AS BACK
6+
FROM golang:1.25.8 AS BACK
77
WORKDIR /go/src/casbin-gateway
88
COPY . .
99
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o server .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ The cost next to each record uses list prices, which vendors change and reseller
416416

417417
### Prerequisites
418418

419-
Go 1.20+, and Node.js with Yarn.
419+
Go 1.25+, and Node.js with Yarn.
420420

421421
### Run from source
422422

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ llmRecordMaxPayloadBytes = 1048576
410410

411411
### 环境要求
412412

413-
Go 1.20+,以及带 Yarn 的 Node.js。
413+
Go 1.25+,以及带Yarn的Node.js。
414414

415415
### 从源码运行
416416

desktop/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/apache/casbin-gateway/desktop
22

3-
go 1.21
3+
go 1.25.0
4+
5+
toolchain go1.25.8
46

57
require (
68
fyne.io/systray v1.12.2

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/apache/casbin-gateway
22

3-
go 1.20
3+
go 1.25.0
4+
5+
toolchain go1.25.8
46

57
require (
68
github.com/BurntSushi/toml v0.3.1

0 commit comments

Comments
 (0)