Skip to content

update codeql-analysis.yml #713

update codeql-analysis.yml

update codeql-analysis.yml #713

Triggered via push August 10, 2023 21:26
Status Failure
Total duration 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
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.1/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/08/10 21:27:01 Autobuilder was built with go1.20.5, environment has go1.20.7 2023/08/10 21:27:01 LGTM_SRC is /home/runner/work/iris/iris 2023/08/10 21:27:01 Found go.mod, enabling go modules go: errors parsing go.mod: /home/runner/work/iris/iris/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/08/10 21:27:01 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/08/10 21:27:01 Failed to run `go mod tidy -e` 2023/08/10 21:27:01 Import path is 'github.com/kataras/iris' 2023/08/10 21:27:01 Build failed, continuing to install dependencies. 2023/08/10 21:27:01 Installing dependencies using `go get -v ./...` in `.`. go: errors parsing go.mod: /home/runner/work/iris/iris/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/08/10 21:27:01 Running /usr/bin/go failed, continuing anyway: exit status 1 2023/08/10 21:27:01 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.1/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'. 2023/08/10 21:27:02 Build flags: ''; patterns: './...' 2023/08/10 21:27:02 Running packages.Load. 2023/08/10 21:27:02 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/iris/iris/go.mod:3: invalid go version '1.21.0': must match format 1.23 2023/08/10 21:27:02 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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/