Skip to content

chore: use scip-go instead of lsif-go for precise indexing in CI #3

chore: use scip-go instead of lsif-go for precise indexing in CI

chore: use scip-go instead of lsif-go for precise indexing in CI #3

Workflow file for this run

name: Sourcegraph code intelligence
'on':
- push
jobs:
scip-go:
runs-on: ubuntu-latest
container: sourcegraph/scip-go:latest
steps:
- uses: actions/checkout@v1
- name: Get src-cli
run: curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src;
chmod +x /usr/local/bin/src
- name: Set directory to safe for git
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Generate SCIP data
run: scip-go
- name: Upload SCIP data
run: src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure