debian-mirror-gitlab/lib/gitlab/ci/templates/Jobs/Code-Intelligence.gitlab-ci.yml
2021-01-30 21:13:32 +05:30

16 lines
301 B
YAML

code_intelligence_go:
stage: test
needs: []
allow_failure: true
image: sourcegraph/lsif-go:v1
rules:
- if: $CODE_INTELLIGENCE_DISABLED
when: never
- if: $CI_COMMIT_BRANCH
exists:
- '**/*.go'
script:
- lsif-go
artifacts:
reports:
lsif: dump.lsif