Run go mod tidy
#270
Annotations
2 errors
Analyze (go)
StepSecurity Harden Runner: Overwrite detected for /etc/docker/daemon.json
|
Analyze (go)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.15.5/x64/codeql/go/tools/autobuild.sh with arguments .
Exit code 1 and error was:
2024/01/16 22:12:02 Autobuilder was built with go1.21.5, environment has go1.20.12
2024/01/16 22:12:02 LGTM_SRC is /home/runner/work/moby-packaging/moby-packaging
2024/01/16 22:12:02 Found go.mod, enabling go modules
go: errors parsing go.mod:
/home/runner/work/moby-packaging/moby-packaging/go.mod:5: unknown directive: toolchain
2024/01/16 22:12:02 Running /usr/bin/go failed, continuing anyway: exit status 1
2024/01/16 22:12:02 Failed to run `go mod tidy -e`
2024/01/16 22:12:02 Import path is 'github.com/Azure/moby-packaging'
2024/01/16 22:12:02 Makefile found.
2024/01/16 22:12:02 Trying build command make []
ERROR: failed to find target all
make: *** [Makefile:20: all] Error 1
2024/01/16 22:12:02 Running /usr/bin/make failed, continuing anyway: exit status 2
2024/01/16 22:12:02 Build failed, continuing to install dependencies.
2024/01/16 22:12:02 Installing dependencies using `go get -v ./...` in `.`.
go: errors parsing go.mod:
/home/runner/work/moby-packaging/moby-packaging/go.mod:5: unknown directive: toolchain
2024/01/16 22:12:02 Running /usr/bin/go failed, continuing anyway: exit status 1
2024/01/16 22:12:02 Running extractor command '/opt/hostedtoolcache/CodeQL/2.15.5/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'.
2024/01/16 22:12:02 Build flags: ''; patterns: './...'
2024/01/16 22:12:02 Running packages.Load.
2024/01/16 22:12:02 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod:
/home/runner/work/moby-packaging/moby-packaging/go.mod:5: unknown directive: toolchain
2024/01/16 22:12:02 Extraction failed: exit status 1
|