From 35b548138391654ea61eee7e8b3f0b7985336713 Mon Sep 17 00:00:00 2001 From: MikeAlejoBR Date: Wed, 15 Jan 2025 18:43:13 +0100 Subject: [PATCH] refactor: downgrade Go version The latest ubi-8 image does not have the latest Go version, so in order to build the image we need to use Go 1.22. --- go.mod | 2 +- go.sum | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 0d828e7..743c64b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/redhatinsights/sources-superkey-worker -go 1.23 +go 1.22.0 require ( github.com/RedHatInsights/sources-api-go v0.0.0-20250115161735-26a815f4196f diff --git a/go.sum b/go.sum index d9a7230..c923f7d 100644 --- a/go.sum +++ b/go.sum @@ -156,7 +156,6 @@ github.com/onsi/gomega v1.18.1 h1:M1GfJqGRrBrrGGsbxzV5dqM2U2ApXefZCQpkukxYRLE= github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= -github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=