Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: upgrade go version to 1.25

Johnny9557150a8720
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index 5f7ae8f74..ba0514ca8 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -18,12 +18,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: 1.24
+ go-version: 1.25
check-latest: true
cache: true
- name: Verify go.mod is tidy
run: |
- go mod tidy -go=1.24
+ go mod tidy -go=1.25
git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
@@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: 1.24
+ go-version: 1.25
check-latest: true
cache: true
- name: Run all tests
diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml
index 7b9deee38..1d8a0888c 100644
--- a/.github/workflows/build-artifacts.yml
+++ b/.github/workflows/build-artifacts.yml
@@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
- go-version: 1.24
+ go-version: 1.25
check-latest: true
cache: true
- uses: pnpm/[email protected]
diff --git a/go.mod b/go.mod
index 3a34efb62..14726a086 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/usememos/memos
-go 1.24.0
+go 1.25
require (
github.com/aws/aws-sdk-go-v2 v1.38.3
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 0a884a144..38456b37e 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.24-alpine AS backend
+FROM golang:1.25-alpine AS backend
WORKDIR /backend-build
COPY go.mod go.sum ./
RUN go mod download