소스 검색

lsif: enable upload

ᴜɴᴋɴᴡᴏɴ 4 년 전
부모
커밋
c65b5b9f84
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      .github/workflows/lsif.yml

+ 17 - 0
.github/workflows/lsif.yml

@@ -0,0 +1,17 @@
+name: LSIF
+on: [push]
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v1
+      - name: Generate LSIF data
+        uses: sourcegraph/lsif-go-action@master
+        with:
+          verbose: 'true'
+      - name: Upload LSIF data
+        uses: sourcegraph/lsif-upload-action@master
+        continue-on-error: true
+        with:
+          endpoint: https://sourcegraph.com
+          github_token: ${{ secrets.GITHUB_TOKEN }}