add e2e tests for CORS feature #1407
knative-style.yaml
on: pull_request
style
/
changes
2s
style
/
...
/
Auto-format and Check
13s
style
/
...
/
Lint
1m 47s
style
/
...
/
Do Not Submit
8s
style
/
...
/
shell
0s
style
/
...
/
yaml
0s
style
/
...
/
github_actions
0s
Matrix: style / Golang / Boilerplate Check
Annotations
2 errors and 4 warnings
style / Golang / Auto-format and Check:
test/conformance/cors_test.go#L1
Please run goimports.
diff --git a/test/conformance/cors_test.go b/test/conformance/cors_test.go
index d11b6f8..4ada213 100644
--- a/test/conformance/cors_test.go
+++ b/test/conformance/cors_test.go
@@ -22,14 +22,15 @@ package conformance
import (
"context"
"encoding/json"
+ "strings"
+ "testing"
+ "time"
+
"github.com/google/go-cmp/cmp"
v1 "github.com/projectcontour/contour/apis/projectcontour/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/types"
"knative.dev/pkg/system"
- "strings"
- "testing"
- "time"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"
|
style / Golang / Auto-format and Check
Process completed with exit code 1.
|
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
|
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
|
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
|
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/net-contour/net-contour. Supported file pattern: go.sum
|