fix(deps): update go #5017
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
codeql-analysis.yml
on: pull_request
Matrix: Analyze Matrix
Analyze
2s
Annotations
2 errors
Analyze Matrix (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 10:03:59 Autobuilder was built with go1.20.7, environment has go1.20.8
2023/10/06 10:03:59 LGTM_SRC is /home/runner/work/slsa-github-generator/slsa-github-generator
2023/10/06 10:03:59 Found go.mod, enabling go modules
go: errors parsing go.mod:
/home/runner/work/slsa-github-generator/slsa-github-generator/go.mod:5: unknown directive: toolchain
2023/10/06 10:03:59 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/10/06 10:03:59 Failed to run `go mod tidy -e`
2023/10/06 10:03:59 Import path is 'github.com/slsa-framework/slsa-github-generator'
2023/10/06 10:03:59 Makefile found.
2023/10/06 10:03:59 Trying build command make []
2023/10/06 10:03:59 Warning: go list command failed, output below:
stdout:
stderr:
go: errors parsing go.mod:
/home/runner/work/slsa-github-generator/slsa-github-generator/go.mod:5: unknown directive: toolchain
2023/10/06 10:03:59 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.6/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'.
2023/10/06 10:04:00 Build flags: ''; patterns: './...'
2023/10/06 10:04:00 Running packages.Load.
2023/10/06 10:04:00 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod:
/home/runner/work/slsa-github-generator/slsa-github-generator/go.mod:5: unknown directive: toolchain
2023/10/06 10:04:00 Extraction failed: exit status 1
|
Analyze
Process completed with exit code 1.
|