fix formating #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "sourcegraph LSIF indexing" | |
on: | |
push: | |
branches: [main] | |
# Set default permissions as read only. | |
permissions: read-all | |
jobs: | |
lsif-go: | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-go:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate LSIF data | |
run: lsif-go | |
- name: Upload LSIF data | |
# this will upload to Sourcegraph.com, you may need to substitute a different command. | |
# by default, we ignore failures to avoid disrupting CI pipelines with non-critical errors. | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure |