Skip to content

Commit

Permalink
switch to scip (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder authored Oct 13, 2024
1 parent a5d356a commit 6a4fba6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/lsif-go.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/scip-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sourcegraph code intelligence
on:
- push

jobs:
scip-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install scip-go
run: |
curl -L https://github.com/sourcegraph/scip-go/releases/download/v0.1.21/scip-go_0.1.21_linux_amd64.tar.gz -o scip-go.tar.gz --no-progress-meter
tar -xf scip-go.tar.gz
chmod +x ./scip-go
- name: Install src
run: |
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o src --no-progress-meter
chmod +x ./src
- name: Generate SCIP data
run: ./scip-go
- name: Upload SCIP data to Sourcegraph.com
run: SRC_ACCESS_TOKEN=${{ secrets.SRC_ACCESS_TOKEN }} ./src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }} -no-progress

0 comments on commit 6a4fba6

Please sign in to comment.