Skip to content

PR #389

PR #389 #76

Triggered via dynamic September 6, 2023 10:54
Status Failure
Total duration 1m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql

on: dynamic
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.3/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/09/06 10:55:25 Autobuilder was built with go1.20.7, environment has go1.20.7 2023/09/06 10:55:25 LGTM_SRC is /home/runner/work/router/router 2023/09/06 10:55:25 Found go.mod, enabling go modules 2023/09/06 10:55:25 Import path is 'github.com/alphagov/router' 2023/09/06 10:55:25 Makefile found. 2023/09/06 10:55:25 Trying build command make [] go: errors parsing go.mod: /home/runner/work/router/router/go.mod:8: malformed module path "<<<<<<<": invalid char '<' /home/runner/work/router/router/go.mod:10: usage: require module/path v1.2.3 /home/runner/work/router/router/go.mod:13: usage: require module/path v1.2.3 make: *** [Makefile:14: build] Error 1 2023/09/06 10:55:25 Running /usr/bin/make failed, continuing anyway: exit status 2 2023/09/06 10:55:25 Build failed, continuing to install dependencies. 2023/09/06 10:55:25 Skipping dependency installation because a Go vendor directory was found. 2023/09/06 10:55:25 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.3/x64/codeql/go/tools/linux64/go-extractor [-mod=vendor ./...]' from directory '.'. 2023/09/06 10:55:25 Build flags: '-mod=vendor'; patterns: './...' 2023/09/06 10:55:25 Running packages.Load. 2023/09/06 10:55:25 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod: /home/runner/work/router/router/go.mod:8: cannot query module due to -mod=vendor /home/runner/work/router/router/go.mod:10: usage: require module/path v1.2.3 /home/runner/work/router/router/go.mod:13: usage: require module/path v1.2.3 2023/09/06 10:55:25 Extraction failed: exit status 1