Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): upgrade golang to 1.24.0 #1444

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23.5"
go-version-file: 'server/go.mod'
cache: false
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
# TODO: fix error=archive named dist/reearth_0.0.0-SNAPSHOT-xxxxxxxx.tar.gz already exists. Check your archive name template
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/ci_server.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: ci-server
on:
workflow_call:
env:
GO_VERSION: "1.23.5"

jobs:
ci-server-lint:
Expand All @@ -14,12 +12,12 @@ jobs:
- name: set up
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'server/go.mod'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.63.4
version: v1.64.5
args: --timeout=10m
working-directory: server
- name: Run go generate
Expand Down Expand Up @@ -50,7 +48,7 @@ jobs:
- name: set up
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'server/go.mod'
cache-dependency-path: server/go.sum
- name: test
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic -timeout 10m
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
go 1.23.5
go 1.24.0

use ./server
2 changes: 1 addition & 1 deletion server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@ require (
moul.io/http2curl/v2 v2.3.0 // indirect
)

go 1.23.5
go 1.24.0
Loading