From 03cd04e9963eb62dfb070ed9de838e165045b231 Mon Sep 17 00:00:00 2001 From: Pijus Kamandulis Date: Wed, 8 Oct 2025 23:14:44 +0300 Subject: [PATCH] Downgrade Go to 1.24.7 due to windows cross-compile issue --- .github/workflows/compile-shared-libraries.yml | 2 +- .github/workflows/release.yml | 4 ++-- Makefile | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/compile-shared-libraries.yml b/.github/workflows/compile-shared-libraries.yml index 314f07f..416799e 100644 --- a/.github/workflows/compile-shared-libraries.yml +++ b/.github/workflows/compile-shared-libraries.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3abd8cb..c519920 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Makefile b/Makefile index 64a7929..6f0fb65 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/go.mod b/go.mod index fe69ae8..f9d3337 100644 --- a/go.mod +++ b/go.mod @@ -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