Skip to content

Allow using go test -c as build command #1239

Allow using go test -c as build command

Allow using go test -c as build command #1239

Re-run triggered July 28, 2023 08:02
Status Failure
Total duration 37s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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