mirror of https://github.com/usememos/memos.git
chore: bump golang version
This commit is contained in:
parent
a0fabaf012
commit
bbca130d62
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 . .
|
||||
|
|
|
|||
Loading…
Reference in New Issue