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/integration-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

# Retrieve build locations with `go env`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-comparison.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

# Retrieve build locations with `go env`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

# Retrieve build locations with `go env`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.*
go-version: 1.20.*
id: go

# Skip changes not affecting examples or integration/examples
Expand Down
2 changes: 1 addition & 1 deletion hack/golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -e -o pipefail

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BIN=${DIR}/bin
VERSION=1.49.0
VERSION=1.52.2

function install_linter() {
echo "Installing GolangCI-Lint"
Expand Down
4 changes: 1 addition & 3 deletions pkg/diag/diag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ type mockValidator struct {
listOptions metav1.ListOptions
}

type mockErrValidator struct {
*mockValidator
}
type mockErrValidator struct{}

func (m *mockValidator) Validate(_ context.Context, ns string, opts metav1.ListOptions) ([]validator.Resource, error) {
m.ns = append(m.ns, ns)
Expand Down