Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: generate and upload LSIF for precise code navigation (#2470)
Joe Chen3489124d5ee3
diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.ymlnew file mode 100644index 0000000000..2890e0e28d--- /dev/null+++ b/.github/workflows/lsif.yml@@ -0,0 +1,23 @@+name: LSIF+on:+ push:+ paths:+ - '**.go'+ - 'go.mod'+ - '.github/workflows/lsif.yml'+env:+ GOPROXY: "https://proxy.golang.org"++jobs:+ lsif-go:+ if: github.repository == 'bytebase/bytebase'+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v2+ - name: Generate LSIF data+ uses: sourcegraph/lsif-go-action@master+ - name: Upload LSIF data to sourcegraph.com+ continue-on-error: true+ uses: docker://sourcegraph/src-cli:latest+ with:+ args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}