From 9bc040bd0f16a4ce91a61b191364e040c8449225 Mon Sep 17 00:00:00 2001 From: Noah S-C Date: Fri, 23 Feb 2024 15:28:25 +0000 Subject: [PATCH] chore: use scip-go instead of lsif-go for precise indexing in CI --- .github/workflows/lsif.yml | 13 ------------- .github/workflows/scip.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 .github/workflows/lsif.yml create mode 100644 .github/workflows/scip.yml diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml deleted file mode 100644 index 83d4bfd..0000000 --- a/.github/workflows/lsif.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: LSIF -on: - - push -jobs: - lsif-go: - runs-on: ubuntu-latest - container: sourcegraph/lsif-go - steps: - - uses: actions/checkout@v1 - - name: Generate LSIF data - run: lsif-go - - name: Upload LSIF data - run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/scip.yml b/.github/workflows/scip.yml new file mode 100644 index 0000000..fd8b95e --- /dev/null +++ b/.github/workflows/scip.yml @@ -0,0 +1,16 @@ +name: SCIP +'on': + - push +jobs: + scip-go: + runs-on: ubuntu-latest + container: sourcegraph/scip-go + steps: + - uses: actions/checkout@v1 + - 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: Generate SCIP data + run: scip-go + - name: Upload SCIP data + run: src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }}