19
19
# go needs absolute directories, using the $HOME variable doesn't work here.
20
20
GOPATH : /home/runner/work/go
21
21
22
- GO_VERSION : ' 1.22.12 '
22
+ GO_VERSION : ' 1.23.6 '
23
23
24
- LITD_ITEST_BRANCH : ' master '
24
+ LITD_ITEST_BRANCH : ' lnd-19 '
25
25
26
26
jobs :
27
27
# ######################
@@ -32,10 +32,12 @@ jobs:
32
32
runs-on : ubuntu-latest
33
33
steps :
34
34
- name : git checkout
35
- uses : actions/checkout@v3
35
+ uses : actions/checkout@v4
36
36
37
- - name : Setup go environment
38
- uses : ./.github/actions/setup-go
37
+ - name : Setup go ${{ env.GO_VERSION }}
38
+ uses : actions/setup-go@v5
39
+ with :
40
+ go-version : ' ${{ env.GO_VERSION }}'
39
41
40
42
- name : docker image cache
41
43
@@ -49,10 +51,12 @@ jobs:
49
51
runs-on : ubuntu-latest
50
52
steps :
51
53
- name : git checkout
52
- uses : actions/checkout@v3
54
+ uses : actions/checkout@v4
53
55
54
- - name : Setup go environment
55
- uses : ./.github/actions/setup-go
56
+ - name : Setup go ${{ env.GO_VERSION }}
57
+ uses : actions/setup-go@v5
58
+ with :
59
+ go-version : ' ${{ env.GO_VERSION }}'
56
60
57
61
- name : Generate RPC stubs and check REST annotations
58
62
run : make rpc-check
@@ -62,10 +66,12 @@ jobs:
62
66
runs-on : ubuntu-latest
63
67
steps :
64
68
- name : git checkout
65
- uses : actions/checkout@v3
69
+ uses : actions/checkout@v4
66
70
67
- - name : Setup go environment
68
- uses : ./.github/actions/setup-go
71
+ - name : Setup go ${{ env.GO_VERSION }}
72
+ uses : actions/setup-go@v3
73
+ with :
74
+ go-version : ' ${{ env.GO_VERSION }}'
69
75
70
76
- name : Run go mod tidy
71
77
run : make mod-check
@@ -75,10 +81,12 @@ jobs:
75
81
runs-on : ubuntu-latest
76
82
steps :
77
83
- name : git checkout
78
- uses : actions/checkout@v3
84
+ uses : actions/checkout@v4
79
85
80
- - name : Setup go environment
81
- uses : ./.github/actions/setup-go
86
+ - name : Setup go ${{ env.GO_VERSION }}
87
+ uses : actions/setup-go@v5
88
+ with :
89
+ go-version : ' ${{ env.GO_VERSION }}'
82
90
83
91
- name : Run test vector creation check
84
92
run : make test-vector-check
88
96
runs-on : ubuntu-latest
89
97
steps :
90
98
- name : git checkout
91
- uses : actions/checkout@v3
99
+ uses : actions/checkout@v4
92
100
93
101
- name : Run migration check
94
102
run : make migration-check
@@ -101,10 +109,12 @@ jobs:
101
109
runs-on : ubuntu-latest
102
110
steps :
103
111
- name : git checkout
104
- uses : actions/checkout@v3
112
+ uses : actions/checkout@v4
105
113
106
- - name : Setup go environment
107
- uses : ./.github/actions/setup-go
114
+ - name : Setup go ${{ env.GO_VERSION }}
115
+ uses : actions/setup-go@v5
116
+ with :
117
+ go-version : ' ${{ env.GO_VERSION }}'
108
118
109
119
- name : compile code
110
120
run : go install -v ./...
@@ -120,10 +130,12 @@ jobs:
120
130
runs-on : ubuntu-latest
121
131
steps :
122
132
- name : git checkout
123
- uses : actions/checkout@v3
133
+ uses : actions/checkout@v4
124
134
125
- - name : setup go environment
126
- uses : ./.github/actions/setup-go
135
+ - name : Setup go ${{ env.GO_VERSION }}
136
+ uses : actions/setup-go@v5
137
+ with :
138
+ go-version : ' ${{ env.GO_VERSION }}'
127
139
128
140
- name : check default values in sample-tapd.conf file
129
141
run : make sample-conf-check
@@ -136,7 +148,7 @@ jobs:
136
148
runs-on : ubuntu-latest
137
149
steps :
138
150
- name : git checkout
139
- uses : actions/checkout@v3
151
+ uses : actions/checkout@v4
140
152
141
153
- name : Set up QEMU
142
154
uses : docker/setup-qemu-action@v2
@@ -163,10 +175,12 @@ jobs:
163
175
runs-on : ubuntu-latest
164
176
steps :
165
177
- name : git checkout
166
- uses : actions/checkout@v3
178
+ uses : actions/checkout@v4
167
179
168
- - name : setup go ${{ env.GO_VERSION }}
169
- uses : ./.github/actions/setup-go
180
+ - name : Setup go ${{ env.GO_VERSION }}
181
+ uses : actions/setup-go@v5
182
+ with :
183
+ go-version : ' ${{ env.GO_VERSION }}'
170
184
171
185
- name : build release for all architectures
172
186
run : make release
@@ -179,12 +193,14 @@ jobs:
179
193
runs-on : ubuntu-latest
180
194
steps :
181
195
- name : git checkout
182
- uses : actions/checkout@v3
196
+ uses : actions/checkout@v4
183
197
with :
184
198
fetch-depth : 0
185
199
186
- - name : Setup go environment
187
- uses : ./.github/actions/setup-go
200
+ - name : Setup go ${{ env.GO_VERSION }}
201
+ uses : actions/setup-go@v5
202
+ with :
203
+ go-version : ' ${{ env.GO_VERSION }}'
188
204
189
205
- name : run lint
190
206
run : make lint
@@ -197,10 +213,12 @@ jobs:
197
213
runs-on : ubuntu-latest
198
214
steps :
199
215
- name : git checkout
200
- uses : actions/checkout@v3
216
+ uses : actions/checkout@v4
201
217
202
- - name : Setup go environment
203
- uses : ./.github/actions/setup-go
218
+ - name : Setup go ${{ env.GO_VERSION }}
219
+ uses : actions/setup-go@v5
220
+ with :
221
+ go-version : ' ${{ env.GO_VERSION }}'
204
222
205
223
- name : run format
206
224
run : make fmt
@@ -221,21 +239,24 @@ jobs:
221
239
- unit dbbackend=postgres
222
240
steps :
223
241
- name : git checkout
224
- uses : actions/checkout@v3
242
+ uses : actions/checkout@v4
225
243
226
- - name : Setup go environment
227
- uses : ./.github/actions/setup-go
244
+ - name : Setup go ${{ env.GO_VERSION }}
245
+ uses : actions/setup-go@v5
246
+ with :
247
+ go-version : ' ${{ env.GO_VERSION }}'
228
248
229
249
- name : run ${{ matrix.unit_type }}
230
250
run : make ${{ matrix.unit_type }}
231
251
232
252
- name : Send coverage
233
- uses : shogo82148/actions-goveralls@v1
253
+ uses : coverallsapp/github-action@v2
234
254
if : matrix.unit_type == 'unit-cover'
235
255
continue-on-error : true
236
256
with :
237
- path-to-profile : coverage.txt
257
+ file : coverage.txt
238
258
flag-name : ' unit'
259
+ format : ' golang'
239
260
parallel : true
240
261
241
262
# #######################
@@ -246,10 +267,12 @@ jobs:
246
267
runs-on : ubuntu-latest
247
268
steps :
248
269
- name : git checkout
249
- uses : actions/checkout@v3
270
+ uses : actions/checkout@v4
250
271
251
- - name : Setup go environment
252
- uses : ./.github/actions/setup-go
272
+ - name : Setup go ${{ env.GO_VERSION }}
273
+ uses : actions/setup-go@v5
274
+ with :
275
+ go-version : ' ${{ env.GO_VERSION }}'
253
276
254
277
- name : run itest
255
278
run : make itest cover=1
@@ -267,12 +290,13 @@ jobs:
267
290
retention-days : 5
268
291
269
292
- name : Send coverage
270
- uses : shogo82148/actions-goveralls@v1
293
+ uses : coverallsapp/github-action@v2
271
294
if : ${{ success() }}
272
295
continue-on-error : true
273
296
with :
274
- path-to-profile : itest/coverage.txt
297
+ file : itest/coverage.txt
275
298
flag-name : ' itest'
299
+ format : ' golang'
276
300
parallel : true
277
301
278
302
# #######################
@@ -283,10 +307,12 @@ jobs:
283
307
runs-on : ubuntu-latest
284
308
steps :
285
309
- name : git checkout
286
- uses : actions/checkout@v3
310
+ uses : actions/checkout@v4
287
311
288
- - name : Setup go environment
289
- uses : ./.github/actions/setup-go
312
+ - name : Setup go ${{ env.GO_VERSION }}
313
+ uses : actions/setup-go@v5
314
+ with :
315
+ go-version : ' ${{ env.GO_VERSION }}'
290
316
291
317
- name : run itest
292
318
run : make itest dbbackend=postgres cover=1
@@ -304,12 +330,13 @@ jobs:
304
330
retention-days : 5
305
331
306
332
- name : Send coverage
307
- uses : shogo82148/actions-goveralls@v1
333
+ uses : coverallsapp/github-action@v2
308
334
if : ${{ success() }}
309
335
continue-on-error : true
310
336
with :
311
- path-to-profile : itest/coverage.txt
337
+ file : itest/coverage.txt
312
338
flag-name : ' itest'
339
+ format : ' golang'
313
340
parallel : true
314
341
315
342
# #######################
@@ -321,13 +348,15 @@ jobs:
321
348
322
349
steps :
323
350
- name : git checkout
324
- uses : actions/checkout@v3
351
+ uses : actions/checkout@v4
325
352
326
- - name : Setup go environment
327
- uses : ./.github/actions/setup-go
353
+ - name : Setup go ${{ env.GO_VERSION }}
354
+ uses : actions/setup-go@v5
355
+ with :
356
+ go-version : ' ${{ env.GO_VERSION }}'
328
357
329
358
- name : Clone Lit repository
330
- uses : actions/checkout@v3
359
+ uses : actions/checkout@v4
331
360
with :
332
361
repository : lightninglabs/lightning-terminal
333
362
ref : ${{ env.LITD_ITEST_BRANCH }}
@@ -365,7 +394,7 @@ jobs:
365
394
needs : [unit-test]
366
395
runs-on : ubuntu-latest
367
396
steps :
368
- - uses : shogo82148/actions-goveralls@v1
397
+ - uses : coverallsapp/github-action@v2
369
398
continue-on-error : true
370
399
with :
371
400
parallel-finished : true
0 commit comments