From a3b5b9b1d9fea2a39a8ac770ad808d5e5259b1a7 Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Sat, 20 Nov 2021 10:39:16 +0100 Subject: [PATCH] Add code navigation to CI --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3245401..07bc7a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,17 @@ variables: paths: - $CI_PROJECT_DIR/.gocache +code_navigation: + stage: test + image: sourcegraph/lsif-go:latest + allow_failure: true # recommended + script: + - lsif-go --no-animation + - ls -lh dump.lsif + artifacts: + reports: + lsif: dump.lsif + lint: stage: test image: golangci/golangci-lint:latest