Skip to content

Commit 6a4fba6

Browse files
authored
switch to scip (nicksnyder#345)
1 parent a5d356a commit 6a4fba6

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

‎.github/workflows/lsif-go.yml‎

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

‎.github/workflows/scip-go.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sourcegraph code intelligence
2+
on:
3+
- push
4+
5+
jobs:
6+
scip-go:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Install scip-go
11+
run: |
12+
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
13+
tar -xf scip-go.tar.gz
14+
chmod +x ./scip-go
15+
- name: Install src
16+
run: |
17+
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o src --no-progress-meter
18+
chmod +x ./src
19+
- name: Generate SCIP data
20+
run: ./scip-go
21+
- name: Upload SCIP data to Sourcegraph.com
22+
run: SRC_ACCESS_TOKEN=${{ secrets.SRC_ACCESS_TOKEN }} ./src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }} -no-progress
23+

0 commit comments

Comments
 (0)