1212 - ' stl-preview-head/**'
1313 - ' stl-preview-base/**'
1414
15+ env :
16+ GOPRIVATE : github.com/beeper/desktop-api-go,github.com/stainless-sdks/beeper-desktop-api-go
17+
1518jobs :
1619 lint :
1720 timeout-minutes : 10
@@ -22,10 +25,14 @@ jobs:
2225 steps :
2326 - uses : actions/checkout@v6
2427
25- - name : Setup go
26- uses : actions/setup-go@v5
28+ - uses : ./.github/actions/setup-go
2729 with :
28- go-version-file : ./go.mod
30+ stainless-api-key : ${{ secrets.STAINLESS_API_KEY }}
31+
32+ - name : Link staging branch
33+ if : github.repository == 'stainless-sdks/beeper-desktop-api-cli'
34+ run : |
35+ ./scripts/link 'github.com/stainless-sdks/beeper-desktop-api-go@${{ github.ref_name }}'
2936
3037 - name : Bootstrap
3138 run : ./scripts/bootstrap
@@ -44,10 +51,14 @@ jobs:
4451 steps :
4552 - uses : actions/checkout@v6
4653
47- - name : Setup go
48- uses : actions/setup-go@v5
54+ - uses : ./.github/actions/setup-go
4955 with :
50- go-version-file : ./go.mod
56+ stainless-api-key : ${{ secrets.STAINLESS_API_KEY }}
57+
58+ - name : Link staging branch
59+ if : github.repository == 'stainless-sdks/beeper-desktop-api-cli'
60+ run : |
61+ ./scripts/link 'github.com/stainless-sdks/beeper-desktop-api-go@${{ github.ref_name }}'
5162
5263 - name : Bootstrap
5364 run : ./scripts/bootstrap
@@ -87,10 +98,14 @@ jobs:
8798 steps :
8899 - uses : actions/checkout@v6
89100
90- - name : Setup go
91- uses : actions/setup-go@v5
101+ - uses : ./.github/actions/setup-go
92102 with :
93- go-version-file : ./go.mod
103+ stainless-api-key : ${{ secrets.STAINLESS_API_KEY }}
104+
105+ - name : Link staging branch
106+ if : github.repository == 'stainless-sdks/beeper-desktop-api-cli'
107+ run : |
108+ ./scripts/link 'github.com/stainless-sdks/beeper-desktop-api-go@${{ github.ref_name }}'
94109
95110 - name : Bootstrap
96111 run : ./scripts/bootstrap
0 commit comments