From 093348d45ebb9626b68de84bd7969154de75ef55 Mon Sep 17 00:00:00 2001 From: Wassim Metallaoui Date: Fri, 17 May 2024 10:48:45 -0500 Subject: [PATCH] chore: download go version to address issue during release gh action android/amd64 requires external (cgo) linking, but cgo is not enabled --- .github/workflows/release.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 539f03c..1daba1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,4 +15,4 @@ jobs: - uses: actions/checkout@v4 - uses: cli/gh-extension-precompile@v1 with: - go_version: "1.22" + go_version: "1.21" diff --git a/go.mod b/go.mod index a307d3b..169ff4f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/wassimk/gh-compare -go 1.22 +go 1.21 require ( github.com/cli/go-gh/v2 v2.9.0