Skip to content

Commit 9949975

Browse files
chore: use scip-go instead of lsif-go for precise indexing in CI (#99)
1 parent 732337d commit 9949975

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

.github/workflows/lsif.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/scip.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: SCIP
2+
'on':
3+
push:
4+
branches-ignore:
5+
- renovate/docker-sourcegraph-docker-insiders-images
6+
jobs:
7+
scip-go:
8+
if: github.repository == 'sourcegraph/deploy-sourcegraph-k8s'
9+
runs-on: ubuntu-latest
10+
container: sourcegraph/scip-go
11+
steps:
12+
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
13+
- name: Get src-cli
14+
run: curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src;
15+
chmod +x /usr/local/bin/src
16+
- name: Set directory to safe for git
17+
run: git config --global --add safe.directory $GITHUB_WORKSPACE
18+
- name: Generate SCIP data
19+
run: scip-go
20+
- name: Upload SCIP data
21+
run: src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)