Skip to content

CodeQL

CodeQL #702

Triggered via schedule December 5, 2023 18:39
Status Failure
Total duration 39s
Artifacts

codeql-analysis.yml

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

Annotations

3 errors and 1 warning
Analyze (go)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (go)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
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.3/x64/codeql/go/tools/autobuild.sh with arguments . Exit code 1 and error was: 2023/12/05 18:39:53 Autobuilder was built with go1.21.4, environment has go1.20.11 2023/12/05 18:39:53 LGTM_SRC is /home/runner/work/iot-master/iot-master 2023/12/05 18:39:53 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/iot-master/iot-master/go.mod:5: unknown directive: toolchain 2023/12/05 18:39:53 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/12/05 18:39:53 Failed to run `go mod tidy -e` 2023/12/05 18:39:53 Import path is 'github.com/zgwit/iot-master' 2023/12/05 18:39:53 build.sh found. 2023/12/05 18:39:53 Trying build command ./build.sh [] 2023/12/05 18:39:53 Running ./build.sh failed, continuing anyway: fork/exec ./build.sh: permission denied 2023/12/05 18:39:53 Build failed, continuing to install dependencies. 2023/12/05 18:39:53 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/iot-master/iot-master/go.mod:5: unknown directive: toolchain 2023/12/05 18:39:53 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/12/05 18:39:53 Running extractor command '/opt/hostedtoolcache/CodeQL/2.15.3/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/12/05 18:39:53 Build flags: ''; patterns: './...' 2023/12/05 18:39:53 Running packages.Load. 2023/12/05 18:39:53 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/iot-master/iot-master/go.mod:5: unknown directive: toolchain 2023/12/05 18:39:53 Extraction failed: exit status 1
Analyze (go)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, github/codeql-action/autobuild@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/