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: bump golang version

Johnnybbca130d62c9
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index 472585094..de6b70c2a 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.23
+ go-version: 1.24
check-latest: true
cache: true
- name: Verify go.mod is tidy
run: |
- go mod tidy -go=1.23
+ go mod tidy -go=1.24
git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
@@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: 1.23
+ go-version: 1.24
check-latest: true
cache: true
- name: Run all tests
diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml
index 074c1b6db..16989bb84 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.23
+ go-version: 1.24
check-latest: true
cache: true
- uses: pnpm/[email protected]
diff --git a/Dockerfile b/Dockerfile
index d44f3c636..0766d28ab 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,7 @@ RUN pnpm i --frozen-lockfile
RUN pnpm build
# Build backend exec file.
-FROM golang:1.23-alpine AS backend
+FROM golang:1.24-alpine AS backend
WORKDIR /backend-build
COPY . .
diff --git a/go.mod b/go.mod
index 7869d98c3..78ce38f1d 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/usememos/memos
-go 1.23
+go 1.24
require (
github.com/aws/aws-sdk-go-v2 v1.36.0