lsif.yml 498 B

123456789101112131415161718
  1. name: LSIF
  2. on: [push]
  3. jobs:
  4. lsif-go:
  5. if: github.repository == 'gogs/gogs'
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v1
  9. - name: Generate LSIF data
  10. uses: sourcegraph/lsif-go-action@master
  11. with:
  12. verbose: 'true'
  13. - name: Upload LSIF data
  14. uses: sourcegraph/lsif-upload-action@master
  15. continue-on-error: true
  16. with:
  17. endpoint: https://sourcegraph.com
  18. github_token: ${{ secrets.GITHUB_TOKEN }}