Add code navigation to CI
This commit is contained in:
parent
20415d82ed
commit
a3b5b9b1d9
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,17 @@ variables:
|
||||||
paths:
|
paths:
|
||||||
- $CI_PROJECT_DIR/.gocache
|
- $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:
|
lint:
|
||||||
stage: test
|
stage: test
|
||||||
image: golangci/golangci-lint:latest
|
image: golangci/golangci-lint:latest
|
||||||
|
|
Loading…
Reference in a new issue