Skip to content

CodeQL

CodeQL #288

Triggered via schedule August 12, 2023 15:01
Status Failure
Total duration 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql-analysis.yml

on: schedule
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.1/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/08/12 15:01:39 Autobuilder was built with go1.20.5, environment has go1.20.7 2023/08/12 15:01:39 LGTM_SRC is /home/runner/work/headers/headers 2023/08/12 15:01:39 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/headers/headers/go.mod:5: unknown directive: toolchain 2023/08/12 15:01:39 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/08/12 15:01:39 Failed to run `go mod tidy -e` 2023/08/12 15:01:39 Import path is 'github.com/roadrunner-server/headers' 2023/08/12 15:01:39 Build failed, continuing to install dependencies. 2023/08/12 15:01:39 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/headers/headers/go.mod:5: unknown directive: toolchain 2023/08/12 15:01:39 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/08/12 15:01:39 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.1/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/08/12 15:01:40 Build flags: ''; patterns: './...' 2023/08/12 15:01:40 Running packages.Load. 2023/08/12 15:01:40 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/headers/headers/go.mod:5: unknown directive: toolchain 2023/08/12 15:01:40 Extraction failed: exit status 1