mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 21:47:45 +00:00
Bump golangci-lint to 2.3.0 and fix issues
This commit is contained in:
@@ -42,7 +42,7 @@ func PinnipedCLIPath(t *testing.T) string {
|
||||
|
||||
t.Log("building pinniped CLI binary")
|
||||
start := time.Now()
|
||||
output, err := exec.Command("go", "build", "-o", path, "go.pinniped.dev/cmd/pinniped").CombinedOutput()
|
||||
output, err := exec.CommandContext(t.Context(), "go", "build", "-o", path, "go.pinniped.dev/cmd/pinniped").CombinedOutput()
|
||||
require.NoError(t, err, string(output))
|
||||
t.Logf("built CLI binary in %s", time.Since(start).Round(time.Millisecond))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user