Skip to content

Commit

Permalink
chore: use scip-go instead of lsif-go for precise indexing in CI (#64)
Browse files Browse the repository at this point in the history
Does what it says on the tin
## Test plan
scip-go GHA passes

[_Created by Sourcegraph batch change
`Strum355/lsif-go_to_scip-go`._](https://sourcegraph.sourcegraph.com/users/Strum355/batch-changes/lsif-go_to_scip-go)
  • Loading branch information
Strum355 committed Feb 23, 2024
1 parent fbadff7 commit f530238
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/lsif-go.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/scip-go.yml
@@ -0,0 +1,38 @@
name: scip-go
'on':
push:
paths:
- '**.go'
jobs:
scip-go:
if: github.repository == 'sourcegraph/log'
runs-on: ubuntu-latest
container: sourcegraph/scip-go
steps:
- name: Checkout
uses: actions/checkout@v2
- 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: Run scip-go
working-directory: ''
run: scip-go --no-animation
- name: Upload scip-go dump to Cloud
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
env:
SRC_ENDPOINT: https://sourcegraph.com/
- name: Upload scip-go dump to Dogfood
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
env:
SRC_ENDPOINT: https://k8s.sgdev.org/
- name: Upload scip-go dump to Demo
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
env:
SRC_ENDPOINT: https://demo.sourcegraph.com/

0 comments on commit f530238

Please sign in to comment.