Skip to content

chore: update to build with go 1.21.0 #316

chore: update to build with go 1.21.0

chore: update to build with go 1.21.0 #316

Triggered via pull request August 28, 2023 13:39
@myziemyzie
synchronize #99
go-1.21
Status Failure
Total duration 1m 2s
Artifacts

codeql.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.1/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/08/28 13:40:42 Autobuilder was built with go1.20.5, environment has go1.20.7 2023/08/28 13:40:42 LGTM_SRC is /home/runner/work/risor/risor 2023/08/28 13:40:42 Found go.mod, enabling go modules go: go.mod file indicates go 1.21, but maximum version supported by tidy is 1.20 go: downloading github.com/stretchr/testify v1.8.3 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c go: downloading github.com/kr/pretty v0.3.1 go: downloading github.com/rogpeppe/go-internal v1.10.0 go: downloading github.com/kr/text v0.2.0 2023/08/28 13:40:45 Import path is 'github.com/risor-io/risor' 2023/08/28 13:40:45 Makefile found. 2023/08/28 13:40:45 Trying build command make [] make: gotestsum: No such file or directory make: *** [Makefile:4: test] Error 127 2023/08/28 13:40:45 Running /usr/bin/make failed, continuing anyway: exit status 2 2023/08/28 13:40:45 Build failed, continuing to install dependencies. 2023/08/28 13:40:45 Installing dependencies using `go get -v ./...` in `.`. 2023/08/28 13:40:45 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.1/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/08/28 13:40:45 Build flags: ''; patterns: './...' 2023/08/28 13:40:45 Running packages.Load. 2023/08/28 13:40:46 Error running go tooling: err: exit status 1: stderr: go: cannot load module listed in go.work file: errors parsing go.mod: /home/runner/work/risor/risor/cmd/risor/go.mod:5: unknown directive: toolchain 2023/08/28 13:40:46 Extraction failed: exit status 1