mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-06-19 05:30:03 +02:00
chore: use scip-go instead of lsif-go for precise indexing in CI
This commit is contained in:
parent
dd69e185fa
commit
4963d1c241
2 changed files with 20 additions and 17 deletions
17
.github/workflows/lsif.yml
vendored
17
.github/workflows/lsif.yml
vendored
|
|
@ -1,17 +0,0 @@
|
||||||
name: LSIF
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lsif-go:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: sourcegraph/lsif-go
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Generate LSIF data
|
|
||||||
run: lsif-go
|
|
||||||
- name: Upload LSIF data
|
|
||||||
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
|
|
||||||
20
.github/workflows/scip.yml
vendored
Normal file
20
.github/workflows/scip.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: SCIP
|
||||||
|
'on':
|
||||||
|
- push
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
jobs:
|
||||||
|
scip-go:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: sourcegraph/scip-go
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- 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 }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue