Skip to content

Commit

Permalink
chore: use scip-go instead of lsif-go for precise indexing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Strum355 committed Feb 23, 2024
1 parent 175f705 commit 3019cc3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/lsif-go.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/scip-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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

0 comments on commit 3019cc3

Please sign in to comment.