diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml deleted file mode 100644 index 28dbf22e..00000000 --- a/.github/workflows/lsif.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: LSIF -on: - push: - branches-ignore: - - "renovate/docker-sourcegraph-docker-insiders-images" - -jobs: - lsif-go: - if: github.repository == 'sourcegraph/deploy-sourcegraph-k8s' - runs-on: ubuntu-latest - container: sourcegraph/lsif-go - steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # renovate: tag=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 00000000..42ee820b --- /dev/null +++ b/.github/workflows/scip.yml @@ -0,0 +1,21 @@ +name: SCIP +'on': + push: + branches-ignore: + - renovate/docker-sourcegraph-docker-insiders-images +jobs: + scip-go: + if: github.repository == 'sourcegraph/deploy-sourcegraph-k8s' + runs-on: ubuntu-latest + container: sourcegraph/scip-go + steps: + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - 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 }}