chore: bump Go version to 1.24.2 in Dockerfile, go.mod, and CI workflows

This commit is contained in:
Vincent Yang 2025-04-08 14:27:01 -04:00
parent 0a9ff6b582
commit 84792ead81
No known key found for this signature in database
GPG Key ID: 281CF11A76870183
5 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '1.24.0' go-version: '1.24.2'
- name: Install golint - name: Install golint
run: go install golang.org/x/lint/golint@latest run: go install golang.org/x/lint/golint@latest

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: "1.24.0" go-version: "1.24.2"
- run: bash .cross_compile.sh - run: bash .cross_compile.sh

View File

@ -1,4 +1,4 @@
FROM golang:1.24.0 AS builder FROM golang:1.24.2 AS builder
WORKDIR /go/src/github.com/OwO-Network/DeepLX WORKDIR /go/src/github.com/OwO-Network/DeepLX
COPY . . COPY . .
RUN go get -d -v ./ RUN go get -d -v ./

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/OwO-Network/DeepLX module github.com/OwO-Network/DeepLX
go 1.24.0 go 1.24.2
require ( require (
github.com/abadojack/whatlanggo v1.0.1 github.com/abadojack/whatlanggo v1.0.1

View File

@ -2,7 +2,7 @@
* @Author: Vincent Young * @Author: Vincent Young
* @Date: 2024-09-16 11:59:24 * @Date: 2024-09-16 11:59:24
* @LastEditors: Vincent Yang * @LastEditors: Vincent Yang
* @LastEditTime: 2025-03-01 04:23:49 * @LastEditTime: 2025-04-08 14:26:33
* @FilePath: /DeepLX/translate/translate.go * @FilePath: /DeepLX/translate/translate.go
* @Telegram: https://t.me/missuo * @Telegram: https://t.me/missuo
* @GitHub: https://github.com/missuo * @GitHub: https://github.com/missuo