Skip to content

chore(deps): pin dependencies #539

chore(deps): pin dependencies

chore(deps): pin dependencies #539

Triggered via pull request October 6, 2023 14:24
Status Failure
Total duration 44s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error
Analyze (go)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.14.6/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/10/06 14:25:27 Autobuilder was built with go1.20.7, environment has go1.20.8 2023/10/06 14:25:27 LGTM_SRC is /home/runner/work/vela-kubernetes/vela-kubernetes 2023/10/06 14:25:27 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/vela-kubernetes/vela-kubernetes/go.mod:5: unknown directive: toolchain 2023/10/06 14:25:27 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/10/06 14:25:27 Failed to run `go mod tidy -e` 2023/10/06 14:25:27 Import path is 'github.com/go-vela/vela-kubernetes' 2023/10/06 14:25:27 Makefile found. 2023/10/06 14:25:27 Trying build command make [] go: errors parsing go.mod: /home/runner/work/vela-kubernetes/vela-kubernetes/go.mod:5: unknown directive: toolchain make: *** [Makefile:51: tidy] Error 1 2023/10/06 14:25:27 Running /usr/bin/make failed, continuing anyway: exit status 2 2023/10/06 14:25:27 Build failed, continuing to install dependencies. 2023/10/06 14:25:27 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/vela-kubernetes/vela-kubernetes/go.mod:5: unknown directive: toolchain 2023/10/06 14:25:27 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/10/06 14:25:27 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.6/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/10/06 14:25:28 Build flags: ''; patterns: './...' 2023/10/06 14:25:28 Running packages.Load. 2023/10/06 14:25:28 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/vela-kubernetes/vela-kubernetes/go.mod:5: unknown directive: toolchain 2023/10/06 14:25:28 Extraction failed: exit status 1