Allow using go test -c as build command #1239
Annotations
4 errors and 3 warnings
check gofmt:
pkg/build/gobuild.go#L1
Please run gofmt -s.
diff --git a/pkg/build/gobuild.go b/pkg/build/gobuild.go
index b83ad87..bb9d31e 100644
--- a/pkg/build/gobuild.go
+++ b/pkg/build/gobuild.go
@@ -138,7 +138,7 @@ func (gbo *gobuildOpener) Open() (Interface, error) {
dir: gbo.dir,
createTestBinary: gbo.createTestBinary,
- platformMatcher: matcher,
+ platformMatcher: matcher,
cache: &layerCache{
buildToDiff: map[string]buildIDToDiffID{},
diffToDesc: map[string]diffIDToDescriptor{},
|
check gofmt
Process completed with exit code 1.
|
check goimports:
pkg/build/gobuild.go#L1
Please run goimports.
diff --git a/pkg/build/gobuild.go b/pkg/build/gobuild.go
index b83ad87..bb9d31e 100644
--- a/pkg/build/gobuild.go
+++ b/pkg/build/gobuild.go
@@ -138,7 +138,7 @@ func (gbo *gobuildOpener) Open() (Interface, error) {
dir: gbo.dir,
createTestBinary: gbo.createTestBinary,
- platformMatcher: matcher,
+ platformMatcher: matcher,
cache: &layerCache{
buildToDiff: map[string]buildIDToDiffID{},
diffToDesc: map[string]diffIDToDescriptor{},
|
check goimports
Process completed with exit code 1.
|
check gofmt
Restore cache failed: Dependencies file is not found in /home/runner/work/ko/ko. Supported file pattern: go.sum
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ko/ko. Supported file pattern: go.sum
|
check goimports
Restore cache failed: Dependencies file is not found in /home/runner/work/ko/ko. Supported file pattern: go.sum
|