Skip to content

chore: updated tests with Go workspaces #365

chore: updated tests with Go workspaces

chore: updated tests with Go workspaces #365

Triggered via pull request September 25, 2023 07:07
Status Failure
Total duration 53s
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.5/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/09/25 07:08:29 Autobuilder was built with go1.20.7, environment has go1.20.8 2023/09/25 07:08:29 LGTM_SRC is /home/runner/work/beanstalk/beanstalk 2023/09/25 07:08:29 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/beanstalk/beanstalk/go.mod:5: unknown directive: toolchain 2023/09/25 07:08:29 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/09/25 07:08:29 Failed to run `go mod tidy -e` 2023/09/25 07:08:29 Import path is 'github.com/roadrunner-server/beanstalk' 2023/09/25 07:08:29 Build failed, continuing to install dependencies. 2023/09/25 07:08:29 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/beanstalk/beanstalk/go.mod:5: unknown directive: toolchain 2023/09/25 07:08:29 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/09/25 07:08:29 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.5/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/09/25 07:08:29 Build flags: ''; patterns: './...' 2023/09/25 07:08:29 Running packages.Load. 2023/09/25 07:08:29 Error running go tooling: err: exit status 1: stderr: reading go.work: /home/runner/work/beanstalk/beanstalk/go.work:1: invalid go version '1.21.1': must match format 1.23 2023/09/25 07:08:29 Extraction failed: exit status 1