diff --git a/.github/workflows/lsif-go.yml b/.github/workflows/lsif-go.yml new file mode 100644 index 00000000..6ab74e00 --- /dev/null +++ b/.github/workflows/lsif-go.yml @@ -0,0 +1,14 @@ +name: Sourcegraph code intelligence +on: + - push + +jobs: + lsif-go: + runs-on: ubuntu-latest + container: sourcegraph/lsif-go:latest + steps: + - uses: actions/checkout@v1 + - name: Generate LSIF data + run: lsif-go + - name: Upload LSIF data to Sourcegraph.com + run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure