From 5b4ef0e843c49a573e5a59ad4d70ca33aca6981b Mon Sep 17 00:00:00 2001 From: Zarin Date: Sat, 11 Mar 2023 03:38:32 -0500 Subject: [PATCH] staticcheck: Update to version 2023.1.2 (#4545) * (chore): fix staticcheck checkver * staticcheck: Update to version 2023.1.2 --- bucket/staticcheck.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bucket/staticcheck.json b/bucket/staticcheck.json index da8b62a2b7..28b8aed922 100644 --- a/bucket/staticcheck.json +++ b/bucket/staticcheck.json @@ -1,31 +1,30 @@ { - "version": "2022.1.3", + "version": "2023.1.2", "description": "An advanced Go linter", "homepage": "https://staticcheck.io", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_amd64.tar.gz", - "hash": "73e808d2636d33279f922991b95edda739289135fa920a5c001686f5c20374d6" + "url": "https://github.com/dominikh/go-tools/releases/download/2023.1.2/staticcheck_windows_amd64.tar.gz", + "hash": "275d9587cf4c91b59dd235057ca6909b3ca996971bef642c9bf34808f8163ff2" }, "32bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/v0.3.3/staticcheck_windows_386.tar.gz", - "hash": "f8b24841ee616196f3c79e837673e4dd574d5f6e0d98eee6a1aa99d28a3849d7" + "url": "https://github.com/dominikh/go-tools/releases/download/2023.1.2/staticcheck_windows_386.tar.gz", + "hash": "3fc9dcfda1cc205900cbaaa701281f85f556223fee496bd208cb32e9a0736d2d" } }, "extract_dir": "staticcheck", "bin": "staticcheck.exe", "checkver": { - "url": "https://api.github.com/repos/dominikh/go-tools/releases", - "regex": "Staticcheck ([\\d.]+) \\(v([\\d.]+)\\)" + "github": "https://github.com/dominikh/go-tools" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/v$match2/staticcheck_windows_amd64.tar.gz" + "url": "https://github.com/dominikh/go-tools/releases/download/$version/staticcheck_windows_amd64.tar.gz" }, "32bit": { - "url": "https://github.com/dominikh/go-tools/releases/download/v$match2/staticcheck_windows_386.tar.gz" + "url": "https://github.com/dominikh/go-tools/releases/download/$version/staticcheck_windows_386.tar.gz" } }, "hash": {