elvish/.github/workflows/sourcegraph.yml
2021-02-21 23:51:08 +00:00

19 lines
427 B
YAML

name: SourceGraph Index
on:
push:
jobs:
lsif:
name: Upload LSIF
if: github.repository == 'elves/elvish'
runs-on: ubuntu-latest
container: sourcegraph/lsif-go:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate LSIF data
run: lsif-go
- name: Upload LSIF data
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure