diff --git a/.golangci.yml b/.golangci.yml index 06d9301..656ed04 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,6 @@ linters: - containedctx - contextcheck - decorder - - depguard - dogsled - dupl - durationcheck diff --git a/dependencies.yaml b/dependencies.yaml index 5f763a1..a278742 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -1,14 +1,14 @@ dependencies: # golangci/golangci-lint - name: "golangci-lint" - version: 1.52.2 + version: 1.53.3 refPaths: - path: mage/golang.go match: defaultGolangCILintVersion\s+=\s+"v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?" # ko - name: "ko" - version: 0.13.0 + version: 0.14.1 refPaths: - path: mage/ko.go match: defaultKoVersion\s+=\s+"(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?" diff --git a/mage/cosign.go b/mage/cosign.go index 08bf523..f879daa 100644 --- a/mage/cosign.go +++ b/mage/cosign.go @@ -25,7 +25,7 @@ import ( "github.com/uwu-tools/magex/pkg/downloads" ) -const defaultCosignVersion = "v2.0.0" +const defaultCosignVersion = "v2.1.1" // EnsureCosign makes sure that the specified cosign version is available func EnsureCosign(version string) error { diff --git a/mage/golang.go b/mage/golang.go index a16acbb..1600c17 100644 --- a/mage/golang.go +++ b/mage/golang.go @@ -37,7 +37,7 @@ import ( const ( // golangci-lint - defaultGolangCILintVersion = "v1.52.2" + defaultGolangCILintVersion = "v1.53.3" golangciCmd = "golangci-lint" golangciConfig = ".golangci.yml" golangciURLBase = "https://raw.githubusercontent.com/golangci/golangci-lint" diff --git a/mage/ko.go b/mage/ko.go index b43c899..11e0ed6 100644 --- a/mage/ko.go +++ b/mage/ko.go @@ -25,7 +25,7 @@ import ( "github.com/uwu-tools/magex/pkg/downloads" ) -const defaultKoVersion = "0.13.0" +const defaultKoVersion = "0.14.1" // EnsureKO func EnsureKO(version string) error { @@ -58,7 +58,7 @@ func InstallKO(version string) error { opts := archive.DownloadArchiveOptions{ DownloadOptions: downloads.DownloadOptions{ - UrlTemplate: "https://github.com/google/ko/releases/download/v{{.VERSION}}/ko_{{.VERSION}}_{{.GOOS}}_{{.GOARCH}}{{.EXT}}", + UrlTemplate: "https://github.com/ko-build/ko/releases/download/v{{.VERSION}}/ko_{{.VERSION}}_{{.GOOS}}_{{.GOARCH}}{{.EXT}}", Name: "ko", Version: version, OsReplacement: map[string]string{