We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2469966 commit ae5e7f0Copy full SHA for ae5e7f0
1 file changed
.github/workflows/sourcegraph-lsif-indexing.yml
@@ -0,0 +1,21 @@
1
+name: "sourcegraph LSIF indexing"
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+# Set default permissions as read only.
8
+permissions: read-all
9
10
+jobs:
11
+ lsif-go:
12
+ runs-on: ubuntu-latest
13
+ container: sourcegraph/lsif-go:latest
14
+ steps:
15
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
+ - name: Generate LSIF data
17
+ run: lsif-go
18
+ - name: Upload LSIF data
19
+ # this will upload to Sourcegraph.com, you may need to substitute a different command.
20
+ # by default, we ignore failures to avoid disrupting CI pipelines with non-critical errors.
21
+ run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure
0 commit comments