Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/sourcegraph-lsif-indexing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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