diff options
author | Nick Snyder <nickdsnyder@gmail.com> | 2020-10-09 08:56:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 08:56:08 +0300 |
commit | 603af13488ca751833928c45f7ada0eed720a392 (patch) | |
tree | 29ce6138d1ea5fe1f2afb9698e95e4e4f7c91ea9 | |
parent | 7ff69e7b576d537ede4adb9bb78930d52454e80f (diff) |
Add Sourcegraph code intelligence
-rw-r--r-- | .github/workflows/lsif-go.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lsif-go.yml b/.github/workflows/lsif-go.yml new file mode 100644 index 0000000..6ab74e0 --- /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 |