Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@v7
with:
version: latest

Expand Down
18 changes: 9 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ linters:
- appendAssign
- commentFormatting

exclusions:
rules:
- path: _test\.go
linters:
- errcheck
- gocritic
paths:
- vendor

formatters:
enable:
- gofmt

issues:
exclude-rules:
- path: _test\.go
linters:
- errcheck
- gocritic
exclude-dirs:
- vendor
10 changes: 5 additions & 5 deletions catalog/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ func TestIsOneClick(t *testing.T) {
Meta: &Meta{
K8s: &KubernetesExtensions{
CRTemplate: map[string]any{
"source": map[string]any{
"type": "ContainerImage",
"containerImage": map[string]any{
"ref": "test:latest",
"source": map[string]any{
"type": "ContainerImage",
"containerImage": map[string]any{
"ref": "test:latest",
},
},
},
},
},
},
},
want: true,
Expand Down
Loading