File tree Expand file tree Collapse file tree 2 files changed +38
-33
lines changed Expand file tree Collapse file tree 2 files changed +38
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : SCIP
2
+ on :
3
+ push :
4
+ paths :
5
+ - ' **.go'
6
+ - ' go.mod'
7
+ - ' .github/workflows/scip.yml'
8
+ env :
9
+ GOPROXY : " https://proxy.golang.org"
10
+
11
+ jobs :
12
+ scip-go :
13
+ if : github.repository == 'gogs/gogs'
14
+ runs-on : ubuntu-latest
15
+ container : sourcegraph/scip-go
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ - name : Set directory to safe for git
20
+ run : git config --global --add safe.directory $GITHUB_WORKSPACE
21
+ - name : Get src-cli
22
+ run : |
23
+ curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src
24
+ chmod +x /usr/local/bin/src
25
+ - name : Generate SCIP data
26
+ run : scip-go --no-animation
27
+ - name : Upload SCIP data to sourcegraph.com
28
+ run : src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/gogs/gogs
29
+ env :
30
+ SRC_ENDPOINT : https://sourcegraph.com/
31
+ - name : Upload SCIP data to S2
32
+ run : src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/gogs/gogs
33
+ env :
34
+ SRC_ENDPOINT : https://sourcegraph.sourcegraph.com/
35
+ - name : Upload SCIP data to cs.unknwon.dev
36
+ run : src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/gogs/gogs
37
+ env :
38
+ SRC_ENDPOINT : https://cs.unknwon.dev/
You can’t perform that action at this time.
0 commit comments