diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 47258509..de6b70c2 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 074c1b6d..16989bb8 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/action-setup@v4.0.0 diff --git a/Dockerfile b/Dockerfile index d44f3c63..0766d28a 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 7869d98c..78ce38f1 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