Downgrade Go to 1.24.7 due to windows cross-compile issue

This commit is contained in:
Pijus Kamandulis 2025-10-08 23:14:44 +03:00
parent a3bea16a26
commit 03cd04e996
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ jobs:
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
with:
xgo_version: latest
go_version: 1.25.1
go_version: 1.24.7
dest: dist
pkg: sharedlibrary
prefix: cosmium

View File

@ -21,13 +21,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.25.1
go-version: 1.24.7
- name: Cross-Compile with xgo
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
with:
xgo_version: latest
go_version: 1.25.1
go_version: 1.24.7
dest: sharedlibrary_dist
pkg: sharedlibrary
prefix: cosmium

View File

@ -9,7 +9,7 @@ SERVER_LOCATION=./cmd/server
SHARED_LIB_LOCATION=./sharedlibrary
SHARED_LIB_OPT=-buildmode=c-shared
XGO_TARGETS=linux/amd64,linux/arm64,windows/amd64,windows/arm64,darwin/amd64,darwin/arm64
GOVERSION=1.25.1
GOVERSION=1.24.7
DIST_DIR=dist

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/pikami/cosmium
go 1.25.1
go 1.24.7
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1