Skip to content

Commit ff2d69b

Browse files
authored
Merge pull request #93 from cpanato/updates
Updates go, golangci-lint, cosign
2 parents 262ae27 + 19113e6 commit ff2d69b

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

dependencies.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
# golangci/golangci-lint
33
- name: "golangci-lint"
4-
version: 1.53.3
4+
version: 1.54.2
55
refPaths:
66
- path: mage/golang.go
77
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-]+)*))?"
@@ -13,6 +13,13 @@ dependencies:
1313
- path: mage/ko.go
1414
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-]+)*))?"
1515

16+
# cosign
17+
- name: "cosign"
18+
version: 2.2.0
19+
refPaths:
20+
- path: mage/cosign.go
21+
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-]+)*))?"
22+
1623
# k8s.io/repo-infra
1724
- name: "repo-infra"
1825
version: 0.2.5

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/release-utils
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/blang/semver/v4 v4.0.0

mage/cosign.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/uwu-tools/magex/pkg/downloads"
2626
)
2727

28-
const defaultCosignVersion = "v2.1.1"
28+
const defaultCosignVersion = "v2.2.0"
2929

3030
// EnsureCosign makes sure that the specified cosign version is available
3131
func EnsureCosign(version string) error {

mage/golang.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ import (
3737

3838
const (
3939
// golangci-lint
40-
defaultGolangCILintVersion = "v1.53.3"
40+
defaultGolangCILintVersion = "v1.54.2"
4141
golangciCmd = "golangci-lint"
4242
golangciConfig = ".golangci.yml"
4343
golangciURLBase = "https://raw.githubusercontent.com/golangci/golangci-lint"
44-
defaultMinGoVersion = "1.19"
44+
defaultMinGoVersion = "1.20"
4545
)
4646

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

0 commit comments

Comments
 (0)