mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 14:57:52 +00:00
build: bump Go toolchain to 1.27
Raise go.mod to 1.27.0 and the Dockerfile builder to golang:1.27. Pin setup-go in the CI and release workflows to 1.27.1 so they match the module's minimum instead of lagging behind it (previously 1.24.2 vs go 1.25.0).
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.24.2'
|
||||
go-version: '1.27.1'
|
||||
|
||||
- name: Install golint
|
||||
run: go install golang.org/x/lint/golint@latest
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.24.2"
|
||||
go-version: "1.27.1"
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.25 AS builder
|
||||
FROM golang:1.27 AS builder
|
||||
WORKDIR /go/src/github.com/OwO-Network/DLX
|
||||
COPY . .
|
||||
RUN go get -d -v ./
|
||||
|
||||
Reference in New Issue
Block a user