Skip to content

Update go to 1.22 (#1121) #466

Update go to 1.22 (#1121)

Update go to 1.22 (#1121) #466

Triggered via push March 20, 2024 21:10
Status Failure
Total duration 37s
Artifacts

codeql.yml

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

Annotations

3 errors and 2 warnings
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.16.4/x64/codeql/go/tools/autobuild.sh with arguments . Exit code 1 and error was: 2024/03/20 21:11:13 Autobuilder was built with go1.22.0, environment has go1.21.8 2024/03/20 21:11:13 LGTM_SRC is /home/runner/work/hoverfly/hoverfly 2024/03/20 21:11:13 Found no go.work files in the workspace; looking for go.mod files... 2024/03/20 21:11:13 Found 1 go.mod file(s). 2024/03/20 21:11:13 Import path is 'github.com/SpectoLabs/hoverfly' 2024/03/20 21:11:13 Makefile found. 2024/03/20 21:11:13 Trying build command make [] go: downloading go1.22 (linux/amd64) go: download go1.22 for linux/amd64: toolchain not available go: downloading go1.22 (linux/amd64) go: download go1.22 for linux/amd64: toolchain not available make: *** [Makefile:2: hoverfly-test] Error 1 2024/03/20 21:11:14 Running /usr/bin/make [make] failed, continuing anyway: exit status 2 2024/03/20 21:11:14 Build failed, continuing to install dependencies. 2024/03/20 21:11:14 Skipping dependency installation because a Go vendor directory was found. 2024/03/20 21:11:14 Running extractor command '/opt/hostedtoolcache/CodeQL/2.16.4/x64/codeql/go/tools/linux64/go-extractor [-mod=vendor ./...]' from directory '.'. 2024/03/20 21:11:15 Build flags: '-mod=vendor'; patterns: './...' 2024/03/20 21:11:15 Running packages.Load. 2024/03/20 21:11:15 Error running go tooling: err: exit status 1: stderr: go: downloading go1.22 (linux/amd64) go: download go1.22 for linux/amd64: toolchain not available 2024/03/20 21:11:15 Extraction failed for .: exit status 1 2024/03/20 21:11:15 Extraction failed for all discovered Go projects.
Analyze (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v1, github/codeql-action/autobuild@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/