Skip to content

Commit

Permalink
Merge pull request #2517 from containers/renovate/golangci-golangci-l…
Browse files Browse the repository at this point in the history
…int-1.x

[CI:DOCS] Update dependency golangci/golangci-lint to v1.60.1
  • Loading branch information
mtrmac authored Aug 15, 2024
2 parents 258250c + 2fe9fc9 commit fdea893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ REGISTRIESDDIR ?= ${CONTAINERSCONFDIR}/registries.d
# N/B: This value is managed by Renovate, manual changes are
# possible, as long as they don't disturb the formatting
# (i.e. DO NOT ADD A 'v' prefix!)
GOLANGCI_LINT_VERSION := 1.59.1
GOLANGCI_LINT_VERSION := 1.60.1

export PATH := $(PATH):${GOBIN}

Expand Down
3 changes: 2 additions & 1 deletion internal/signer/signer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func TestSignImageManifest(t *testing.T) {
testManifest := []byte("some manifest")
testDR, err := reference.ParseNormalizedNamed("busybox")
require.NoError(t, err)
testContext := context.WithValue(context.Background(), struct{}{}, "make this context unique")
type contextKeyType struct{}
testContext := context.WithValue(context.Background(), contextKeyType{}, "make this context unique")
testSig := signature.SigstoreFromComponents(signature.SigstoreSignatureMIMEType, []byte("payload"), nil)
testErr := errors.New("some unique error")
si.signImageManifest = func(ctx context.Context, m []byte, dockerReference reference.Named) (signature.Signature, error) {
Expand Down

0 comments on commit fdea893

Please sign in to comment.