chore: bump golang version

This commit is contained in:
Johnny 2025-02-24 21:47:57 +08:00
parent a0fabaf012
commit bbca130d62
4 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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/action-setup@v4.0.0

View file

@ -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 . .

2
go.mod
View file

@ -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