Skip to content

Example: Add netem example with a 100ms delay #159

Example: Add netem example with a 100ms delay

Example: Add netem example with a 100ms delay #159

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