Add code navigation to CI

This commit is contained in:
Bruno Carlin 2021-11-20 10:39:16 +01:00
parent 20415d82ed
commit a3b5b9b1d9

View file

@ -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