From 1dc30c3ed2be37811dee0e3d62db71b056d0b038 Mon Sep 17 00:00:00 2001 From: Igor Drozdov Date: Mon, 30 Mar 2020 14:07:09 +0000 Subject: Include code-navigation block to CI --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 720108f..638f916 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -79,3 +79,18 @@ dependency_scanning: "registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code artifacts: paths: [gl-dependency-scanning-report.json] + +code_navigation: + image: golang:1.14.0 + allow_failure: true + script: + - apt-get update && apt-get install -y ruby-full + - go get github.com/sourcegraph/lsif-go/cmd/lsif-go + - gem install lsif_parser + - lsif-go + - lsif_parser dump.lsif $PWD + - mv dump.lsif.tmp lsif + artifacts: + paths: + - lsif/ + -- cgit v1.2.1