Skip to content

Commit

Permalink
Merge pull request #89 from cpanato/updates
Browse files Browse the repository at this point in the history
updates for cosign/ko/golangci-lint
  • Loading branch information
k8s-ci-robot committed Jul 7, 2023
2 parents 4ab5b1b + 15eabd8 commit 1bf6b4c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ linters:
- containedctx
- contextcheck
- decorder
- depguard
- dogsled
- dupl
- durationcheck
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
@@ -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-]+)*))?"
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.0.0"
const defaultCosignVersion = "v2.1.1"

// EnsureCosign makes sure that the specified cosign version is available
func EnsureCosign(version string) error {
Expand Down
2 changes: 1 addition & 1 deletion mage/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions mage/ko.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 defaultKoVersion = "0.13.0"
const defaultKoVersion = "0.14.1"

// EnsureKO
func EnsureKO(version string) error {
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 1bf6b4c

Please sign in to comment.