mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-25 19:36:07 +00:00
chore⬆️: build with Go 1.27
govulncheck reports seven standard-library vulnerabilities against go1.26.5 that this code actually reaches, and none against go1.27.1. It also clears the way for the next go-admin-core release, which declares go 1.27.1: a module cannot require a dependency whose language version is newer than its own. Doing it in its own commit keeps that upgrade to a one-line dependency bump. All three modules in the tree move together. test/e2e-apporder requires the main module, so leaving it behind fails the moment the main module declares a newer version - "updates to go.mod needed", before a test runs. example/app-order only requires go-admin-core and would still have resolved, but it was declaring 1.25.13, two releases back and out of support. The workflows pin the Go version explicitly instead of reading go.mod, and the four READMEs state it under environmental requirements, so those move with it too. No dependency changes - go mod tidy leaves every go.sum untouched.
This commit is contained in:
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
with:
|
||||
go-version: 1.26.5
|
||||
go-version: 1.27.1
|
||||
|
||||
- name: Tidy
|
||||
run: go mod tidy
|
||||
|
||||
@@ -107,10 +107,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.26
|
||||
- name: Set up Go 1.27
|
||||
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
with:
|
||||
go-version: 1.26.5
|
||||
go-version: 1.27.1
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ antd 体验(go-admin-pro):[https://antd.go-admin.pro](https://antd.go-admi
|
||||
|
||||
### 环境要求
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
node版本: v22+(推荐 v24 LTS)
|
||||
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ antd デモ(go-admin-pro):[https://antd.go-admin.pro](https://antd.go-admi
|
||||
|
||||
### 動作要件
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
node バージョン: v22 以上(v24 LTS 推奨)
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ At the same time, a series of tutorials including videos and documents are provi
|
||||
|
||||
### Environmental requirements
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
nodejs: v22+ (v24 LTS recommended)
|
||||
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ antd 體驗(go-admin-pro):[https://antd.go-admin.pro](https://antd.go-admi
|
||||
|
||||
### 環境需求
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
node 版本: v22+(建議 v24 LTS)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/go-admin-team/example-app-order
|
||||
|
||||
go 1.25.13
|
||||
go 1.27.1
|
||||
|
||||
require (
|
||||
github.com/gin-gonic/gin v1.12.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module go-admin
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
require (
|
||||
github.com/alibaba/sentinel-golang v1.0.4
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module go-admin-e2e-apporder
|
||||
|
||||
go 1.26.5
|
||||
go 1.27.1
|
||||
|
||||
require (
|
||||
github.com/glebarez/go-sqlite v1.22.0
|
||||
|
||||
Reference in New Issue
Block a user