From e07fe4ba99f2151a605658051ecc87d47862baf9 Mon Sep 17 00:00:00 2001 From: David Barroso Date: Wed, 18 Sep 2024 11:45:59 +0200 Subject: [PATCH] core: bump golangci-lint due to some memory issues (#22) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### **PR Type** Enhancement ___ ### **Description** - Upgraded golangci-lint from version 1.60.3 to 1.61.0 - Updated the sha256 hash for the source to match the new version - Updated the vendorHash to correspond with the new version - This update addresses some memory issues mentioned in the commit message ___ ### **Changes walkthrough** 📝
Relevant files
Dependencies
go.nix
Upgrade golangci-lint to version 1.61.0                                   

overlays/go.nix
  • Updated golangci-lint version from 1.60.3 to 1.61.0
  • Updated sha256 hash for the source
  • Updated vendorHash
  • +3/-3     
    ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions --- overlays/go.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/overlays/go.nix b/overlays/go.nix index 175cd44..e68d919 100644 --- a/overlays/go.nix +++ b/overlays/go.nix @@ -14,15 +14,15 @@ final: prev: rec { golangci-lint = prev.golangci-lint.override rec { buildGoModule = args: final.buildGoModule (args // rec { - version = "1.60.3"; + version = "1.61.0"; src = prev.fetchFromGitHub { owner = "golangci"; repo = "golangci-lint"; rev = "v${version}"; - sha256 = "sha256-0ScdJ5td2N8WF1dwHQ3dBSjyr1kqgrzCfBzbRg9cRrw="; + sha256 = "sha256-2YzVNOdasal27R92l6eVdeS81mAp0ZU6kYsC/Jfvkcg="; }; - vendorHash = "sha256-ixeswsfx36D0Tg103swbBD8UXXLNYbxSMYDE+JOm+uw="; + vendorHash = "sha256-mFDCRxbLq08yRd0ko3CCPJD2BZiCB0Gwd1g+/1oR6w8="; ldflags = [ "-s"