Skip to content

build: update Go to 1.21 and dependencies #303

build: update Go to 1.21 and dependencies

build: update Go to 1.21 and dependencies #303

Triggered via pull request September 6, 2023 14:31
Status Failure
Total duration 1m 8s
Artifacts

codeql-analysis.yml

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

Annotations

1 error and 1 warning
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.3/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/09/06 14:32:27 Autobuilder was built with go1.20.7, environment has go1.20.7 2023/09/06 14:32:27 LGTM_SRC is /home/runner/work/domain_exporter/domain_exporter 2023/09/06 14:32:27 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/domain_exporter/domain_exporter/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/09/06 14:32:27 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/09/06 14:32:27 Failed to run `go mod tidy -e` 2023/09/06 14:32:27 Import path is 'github.com/shift/domain_exporter' 2023/09/06 14:32:27 Build failed, continuing to install dependencies. 2023/09/06 14:32:27 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/domain_exporter/domain_exporter/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/09/06 14:32:27 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/09/06 14:32:27 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.3/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/09/06 14:32:27 Build flags: ''; patterns: './...' 2023/09/06 14:32:27 Running packages.Load. 2023/09/06 14:32:27 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/domain_exporter/domain_exporter/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/09/06 14:32:27 Extraction failed: exit status 1
Analyze (go)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.