Skip to content

Commit

Permalink
Merge pull request #93 from cpanato/updates
Browse files Browse the repository at this point in the history
Updates go, golangci-lint, cosign
  • Loading branch information
k8s-ci-robot authored Sep 1, 2023
2 parents 262ae27 + 19113e6 commit ff2d69b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
# golangci/golangci-lint
- name: "golangci-lint"
version: 1.53.3
version: 1.54.2
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-]+)*))?"
Expand All @@ -13,6 +13,13 @@ dependencies:
- 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-]+)*))?"

# cosign
- name: "cosign"
version: 2.2.0
refPaths:
- path: mage/cosign.go
match: defaultCosignVersion\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-]+)*))?"

# k8s.io/repo-infra
- name: "repo-infra"
version: 0.2.5
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module sigs.k8s.io/release-utils

go 1.19
go 1.20

require (
github.com/blang/semver/v4 v4.0.0
Expand Down
2 changes: 1 addition & 1 deletion mage/cosign.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/uwu-tools/magex/pkg/downloads"
)

const defaultCosignVersion = "v2.1.1"
const defaultCosignVersion = "v2.2.0"

// EnsureCosign makes sure that the specified cosign version is available
func EnsureCosign(version string) error {
Expand Down
4 changes: 2 additions & 2 deletions mage/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ import (

const (
// golangci-lint
defaultGolangCILintVersion = "v1.53.3"
defaultGolangCILintVersion = "v1.54.2"
golangciCmd = "golangci-lint"
golangciConfig = ".golangci.yml"
golangciURLBase = "https://raw.githubusercontent.com/golangci/golangci-lint"
defaultMinGoVersion = "1.19"
defaultMinGoVersion = "1.20"
)

// Ensure golangci-lint is installed and on the PATH.
Expand Down

0 comments on commit ff2d69b

Please sign in to comment.