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 fbadff7 commit f129f1f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/lsif-go.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/scip-go.yml
@@ -0,0 +1,36 @@
name: scip-go
'on':
push:
paths:
- '**.go'
jobs:
scip-go:
if: github.repository == 'sourcegraph/log'
runs-on: ubuntu-latest
container: sourcegraph/scip-go
steps:
- name: Checkout
uses: actions/checkout@v2
- 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: Run scip-go
working-directory: ''
run: scip-go --no-animation
- name: Upload scip-go dump to Cloud
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
env:
SRC_ENDPOINT: https://sourcegraph.com/
- name: Upload scip-go dump to Dogfood
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
env:
SRC_ENDPOINT: https://k8s.sgdev.org/
- name: Upload scip-go dump to Demo
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
env:
SRC_ENDPOINT: https://demo.sourcegraph.com/

0 comments on commit f129f1f

Please sign in to comment.