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 732337d commit 0403969
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/lsif.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/scip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: SCIP
'on':
push:
branches-ignore:
- renovate/docker-sourcegraph-docker-insiders-images
jobs:
scip-go:
if: github.repository == 'sourcegraph/deploy-sourcegraph-k8s'
runs-on: ubuntu-latest
container: sourcegraph/scip-go
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
- 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 }}

0 comments on commit 0403969

Please sign in to comment.